ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/TriggerObjectRel.h
(Generate patch)

Comparing UserCode/MitAna/DataTree/interface/TriggerObjectRel.h (file contents):
Revision 1.1 by loizides, Mon Jul 13 09:42:15 2009 UTC vs.
Revision 1.2 by ebutz, Wed Aug 17 17:49:43 2011 UTC

# Line 24 | Line 24 | namespace mithep
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) :
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 <      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;             }
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 <      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
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, 2) // Trigger to trigger object relation class
44 >    ClassDef(TriggerObjectRel, 3) // Trigger to trigger object relation class
45    };
46   }
47   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines