ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/TriggerObjectRel.h
Revision: 1.2
Committed: Wed Aug 17 17:49:43 2011 UTC (13 years, 8 months ago) by ebutz
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, HEAD
Branch point for: Mit_025c_branch
Changes since 1.1: +14 -14 lines
Log Message:
Adjusting data members to support more than 256 bits

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: TriggerObjectRel.h,v 1.1 2009/07/13 09:42:15 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(UShort_t id, Char_t type, Int_t obj, Int_t mod, Int_t fil) :
28 fTrgId(id), fType(type), fObjInd(obj), fModInd(mod), fFilterInd(fil) {}
29
30 Int_t FilterInd() const { return fFilterInd; }
31 Int_t ModInd() const { return fModInd; }
32 Int_t ObjInd() const { return fObjInd; }
33 EObjType ObjType() const { return kTriggerObjectRel; }
34 UShort_t TrgId() const { return fTrgId; }
35 Char_t Type() const { return fType; }
36
37 protected:
38 UShort_t fTrgId; //trigger id
39 Char_t fType; //trigger type
40 Int_t fObjInd; //trigger object index
41 Int_t fModInd; //module label index
42 Int_t fFilterInd; //filter label index
43
44 ClassDef(TriggerObjectRel, 3) // Trigger to trigger object relation class
45 };
46 }
47 #endif