ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/dasu/UltraFastSim/Analysis.h
Revision: 1.2
Committed: Wed Feb 16 00:33:49 2011 UTC (14 years, 2 months ago) by dasu
Content type: text/plain
Branch: MAIN
CVS Tags: v2
Changes since 1.1: +17 -3 lines
Log Message:
Made Luk's code compile and run in Analysis.*

File Contents

# Content
1 #ifndef Analysis_H
2 #define Analysis_H
3
4 namespace Pythia8 {
5 class Pythia;
6 }
7
8 class UltraFastSim;
9
10 class TFile;
11 class TTree;
12 class TH1D;
13
14 class Analysis {
15
16 public:
17
18 Analysis(char *runType, Pythia8::Pythia *pythia, UltraFastSim *ufs, bool verbosity);
19
20 virtual ~Analysis();
21
22 bool run();
23
24 private:
25
26 Analysis();
27
28 char *runType;
29 Pythia8::Pythia *pythia;
30 UltraFastSim *ufs;
31
32 bool verbose_;
33
34 int iEvent;
35
36 double _px,_py,_pz,_e,_m;
37 int _id,_np,_mother1,_mother2; //np is the number of particles...
38 double _pxc,_pyc,_pzc,_ec,_mc;
39 int _idc,_npc,_mother1c,_mother2c;
40
41 TFile *outFile;
42 TTree *tree;
43 TTree *cuttree;
44 TH1D *bjet_pt;
45 TH1D *higgs_inv_mass;
46 TH1D *higgs_inv_mass_cut;
47
48 };
49
50 #endif