ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/UHHAnalysis/SFrameTools/include/TTbarGen.h
Revision: 1.8
Committed: Wed Jun 12 12:33:41 2013 UTC (11 years, 10 months ago) by peiffer
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +4 -2 lines
Error occurred while calculating annotation data.
Log Message:
removed ObjectHandler

File Contents

# Content
1 #ifndef TTbarGen_H
2 #define TTbarGen_H
3
4 // Local include(s):
5 #include "TLorentzVector.h"
6 //#include "include/EventCalc.h"
7 #include "Objects.h"
8 #include "BaseCycleContainer.h"
9
10 /**
11 * Class for ttbar generator truth information
12 */
13
14 class TTbarGen
15 {
16
17 public:
18 /// Default constructor, loops over generator particle list and fills the relevant particles
19 TTbarGen(BaseCycleContainer* bcc);
20
21 /// Default destructor
22 ~TTbarGen();
23
24 enum E_DecayChannel{
25 e_had,
26 e_ehad,
27 e_muhad,
28 e_tauhad,
29 e_ee,
30 e_mumu,
31 e_tautau,
32 e_emu,
33 e_etau,
34 e_mutau,
35 e_notfound
36 };
37
38 GenParticle Top();
39 GenParticle Antitop();
40 GenParticle WTop();
41 GenParticle WAntitop();
42 GenParticle bTop();
43 GenParticle bAntitop();
44 GenParticle Wdecay1();
45 GenParticle Wdecay2();
46 GenParticle WMinusdecay1();
47 GenParticle WMinusdecay2();
48 E_DecayChannel DecayChannel();
49
50 bool IsTopHadronicDecay();
51 bool IsAntiTopHadronicDecay();
52
53 //only for l+jets decays
54 GenParticle TopLep();
55 GenParticle TopHad();
56 GenParticle BLep();
57 GenParticle BHad();
58 GenParticle WLep();
59 GenParticle WHad();
60 GenParticle ChargedLepton();
61 GenParticle Neutrino();
62 GenParticle Q1();
63 GenParticle Q2();
64
65
66 private:
67
68 GenParticle m_Top;
69 GenParticle m_Antitop;
70 GenParticle m_WTop;
71 GenParticle m_WAntitop;
72 GenParticle m_bTop;
73 GenParticle m_bAntitop;
74 GenParticle m_Wdecay1;
75 GenParticle m_Wdecay2;
76 GenParticle m_WMinusdecay1;
77 GenParticle m_WMinusdecay2;
78 int m_pdgId1;
79 int m_pdgId2;
80 int m_indexW;
81 int m_indexb;
82 int m_index1;
83 int m_index2;
84
85 E_DecayChannel m_type;
86
87
88 }; // class TTbarGen
89
90
91 #endif // TTbarGen_H