ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/TriggerObjectRel.h
Revision: 1.1
Committed: Mon Jul 13 09:42:15 2009 UTC (15 years, 9 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013, Mit_013pre1, Mit_012i, Mit_012h, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a, Mit_011, Mit_010a, Mit_010
Log Message:
Split trigger classes into seperate files.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: TriggerObject.h,v 1.11 2009/07/13 06:37:34 loizides Exp $
3     //
4     // TriggerObjectRel
5     //
6     // This class holds the relation between HLT trigger bit and objects, as well
7     // as final assignment of the trigger type.
8     //
9     // Authors: C.Loizides
10     //--------------------------------------------------------------------------------------------------
11    
12     #ifndef MITANA_DATATREE_TRIGGEROBJECTREL_H
13     #define MITANA_DATATREE_TRIGGEROBJECTREL_H
14    
15     #include <THashTable.h>
16     #include "MitCommon/DataFormats/interface/Vect4M.h"
17     #include "MitAna/DataTree/interface/Particle.h"
18     #include "MitAna/DataTree/interface/TriggerName.h"
19     #include "MitAna/DataTree/interface/TriggerTable.h"
20    
21     namespace mithep
22     {
23     class TriggerObjectRel : public DataObject
24     {
25     public:
26     TriggerObjectRel() : fTrgId(0), fType(0), fObjInd(-1), fModInd(-1), fFilterInd(-1) {}
27     TriggerObjectRel(UChar_t id, UChar_t type, Short_t obj, Short_t mod, Short_t fil) :
28     fTrgId(id), fType(type), fObjInd(obj), fModInd(mod), fFilterInd(fil) {}
29    
30     Short_t FilterInd() const { return fFilterInd; }
31     Short_t ModInd() const { return fModInd; }
32     Short_t ObjInd() const { return fObjInd; }
33     EObjType ObjType() const { return kTriggerObjectRel; }
34     UChar_t TrgId() const { return fTrgId; }
35     UChar_t Type() const { return fType; }
36    
37     protected:
38     UChar_t fTrgId; //trigger id
39     Char_t fType; //trigger type
40     Short_t fObjInd; //trigger object index
41     Short_t fModInd; //module label index
42     Short_t fFilterInd; //filter label index
43    
44     ClassDef(TriggerObjectRel, 2) // Trigger to trigger object relation class
45     };
46     }
47     #endif