ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/FGolf/rf/looper.h
Revision: 1.1
Committed: Wed Dec 23 17:33:25 2009 UTC (15 years, 4 months ago) by benhoob
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 benhoob 1.1 #ifndef looper_H
2     #define looper_H
3    
4     #include "TH1F.h"
5     #include "TH2F.h"
6     #include "CMS2.h"
7    
8     typedef ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<float> > LorentzVector;
9    
10     class looper {
11     public:
12     int ScanChain ( TChain* chain, char *prefix = "", bool useHO = false, float coneSize = 0.5);
13     void BookHistos ( char *prefix );
14     bool isGoodPion (int index);
15     float getCaloEnergy( int index, bool useHO, float coneSize );
16    
17     TH1F* hrfPt5b[3];
18     TH1F* hrfPt5e[3];
19     TH1F* hrfPt5ep[3];
20     TH1F* hrfPt5em[3];
21     TH1F* hrfPt20b[3];
22     TH1F* hrfPt20e[3];
23     TH1F* hrfPt20ep[3];
24     TH1F* hrfPt20em[3];
25     TH1F* hrfPt70b[3];
26     TH1F* hrfPt70e[3];
27     TH1F* hrfPt70ep[3];
28     TH1F* hrfPt70em[3];
29     };
30    
31     #endif