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

Comparing UserCode/Morgan/interface/TRootEvent.h (file contents):
Revision 1.2 by mlethuil, Thu Jun 19 14:07:31 2008 UTC vs.
Revision 1.3 by mlethuil, Mon Jun 23 13:31:11 2008 UTC

# Line 20 | Line 20 | public:
20                          ,passGlobalL1_(false)
21                          ,passGlobalHLT_(false)
22                          ,trigHLT_(0)
23 +                        ,csa07id_(0)
24 +                        ,csa07weight_(0.)
25 +                        ,csa07process_()
26                          ,nBasicClusters_()
27                          ,nSuperClusters_()
28                          ,primaryVertex_(0)
29                          ,metCalo_()
30                          {;}
31 <        
31 >
32          ~TRootEvent() {;}
33                  
34          // Event number
# Line 49 | Line 52 | public:
52                   }
53          }
54  
55 +        // CSA07 Process Id and Event Weight
56 +        Int_t csa07id() const { return csa07id_; }
57 +        Float_t csa07weight() const { return csa07weight_; }
58 +        TString csa07process() const { return csa07process_; }
59 +        
60          // Nb of primary vertices
61          unsigned nPrimaryVertices() const { return primaryVertex_.size(); }
62          
# Line 93 | Line 101 | public:
101                  for (unsigned int i=0; i!=trigHLT.size(); ++i) trigHLT_[i]=trigHLT[i];
102          }
103  
104 <
104 >        void setCsa07id(Int_t csa07id) { csa07id_=csa07id; }
105 >        void setCsa07weight(Float_t csa07weight)  { csa07weight_=csa07weight; }
106 >        void setCsa07process(TString csa07process)  { csa07process_=csa07process; }
107 >        void setCsa07process(char* csa07process)  { csa07process_=csa07process; }
108          
109          void setNBasicClusters(Int_t type,Int_t nBC) { nBasicClusters_[type]=nBC; }
110          void setNSuperClusters(Int_t type,Int_t nSC) { nSuperClusters_[type]=nSC; }
# Line 112 | Line 123 | public:
123          */
124          
125   private:
126 <
126 >        
127          Int_t nb_;
128          Bool_t passGlobalL1_;
129          Bool_t passGlobalHLT_;
130          std::vector<Bool_t> trigHLT_;
131          
132 +        Int_t csa07id_;
133 +        Float_t csa07weight_;
134 +        TString csa07process_;
135 +        
136          map<Int_t,Int_t> nBasicClusters_;
137          map<Int_t,Int_t> nSuperClusters_;
138          std::vector<TVector3> primaryVertex_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines