ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/Objects.hh
Revision: 1.1
Committed: Thu Sep 17 19:39:51 2009 UTC (15 years, 7 months ago) by amagnan
Content type: text/plain
Branch: MAIN
CVS Tags: v00-03-00
Log Message:
add Tree

File Contents

# Content
1 #ifndef HbbAnalysis_Objects_hh
2 #define HbbAnalysis_Objects_hh
3
4 #include <vector>
5 #include <string>
6
7 namespace HbbAnalysis {
8
9 struct MCVars {
10 unsigned int index;
11 double pT;
12 double eta;
13 double phi;
14 int pdgId;
15 int status;
16 };
17
18 struct GenVars {
19 bool valid;
20 double pT;
21 double eta;
22 double phi;
23 int charge;
24 int pdgId;
25 int status;
26 double mass;
27 double vx;
28 double vy;
29 double vz;
30 };
31
32 struct BaseVars {
33 double pT;
34 double eta;
35 double phi;
36 float charge;
37 double vx;
38 double vy;
39 double vz;
40 };
41
42 struct SCVars {
43 float sigmaEtaEta;
44 float sigmaIEtaIEta;
45 float e1x5;
46 float e2x5Max;
47 float e5x5;
48 float eOverP;
49 };
50
51 struct EleIsoVars {
52 float calo;
53 float track;
54 float ecal;
55 float hcal;
56 };
57
58 struct EleIDVars{
59 std::vector<std::pair<std::string,float> > electronIDs;
60 float hOverE;
61 float deltaPhiIn;
62 float deltaEtaIn;
63 };
64
65 struct MuIsoVars {
66 float sumPt;
67 float emEt;
68 float hadEt;
69 float nTracks;
70 float nJets;
71 };
72
73 struct MuIDVars{
74 unsigned short type;
75 std::vector<unsigned short> ids;
76 float caloCompat;
77 float segCompat;
78 unsigned int nChambers;
79 unsigned int nMatchesLoose;
80 unsigned int nMatchesMedium;
81 unsigned int nMatchesTight;
82 };
83
84 struct TauLeadTrkVars{
85 double pT;
86 double eta;
87 double phi;
88 double matchDist;
89 double IPxy;
90 double IPz;
91 float signedSipt;
92 };
93
94 struct CaloTauIsoVars{
95 unsigned int nIsoTracks;
96 unsigned int nSigTracks;
97 float leadTrackHCAL3x3hitsEtSum;
98 float leadTrackHCAL3x3hottesthitDEta;
99 float signalTracksInvariantMass;
100 float tracksInvariantMass;
101 float isolationTracksPtSum;
102 float isolationECALhitsEtSum;
103 float maximumHCALhitEt;
104 };
105
106 struct CaloTauIDVars{
107 float byIsolation;
108 float byLeadingTrackFinding;
109 float byLeadingTrackPtCut;
110 };
111
112 struct PFTauIsoVars{
113 unsigned int nSigCands;
114 unsigned int nIsoCands;
115 double maximumHCALPFClusterEt;
116 //double emFraction;
117 double hcalTotOverPLead;
118 double hcalMaxOverPLead;
119 double hcal3x3OverPLead;
120 double ecalStripSumEOverPLead;
121 double bremsRecoveryEOverPLead;
122 };
123
124 //for hadr, neutr and gamma cands
125 struct PFTauCandVars{
126 unsigned int nSigCands;
127 unsigned int nIsoCands;
128 double isolationPtSum;
129 };
130
131 struct PFTauIDVars{
132 float byLeadingTrackFinding;
133 float byLeadingTrackPtCut;
134 float byTrackIsolation;
135 float byECALIsolation;
136 float byIsolation;
137 float againstElectron;
138 float againstMuon;
139 };
140
141 struct PFTauEleIDVars{
142 double pT;
143 double eta;
144 double phi;
145 float output;
146 float decision;
147 };
148
149 struct PFTauMuIDVars{
150 float caloCompat;
151 float segCompat;
152 float decision;
153 };
154
155 struct JetVars{
156 //1=had, 2=e, 3=mu for heavy quarks;
157 //2=uds, 3=g for light quarks
158 unsigned int flavour;
159 int partonFlavour;
160 unsigned int nAssociatedTracks;
161 double rawpT;
162 //double rawEta;
163 //double rawPhi;
164 };
165
166 struct CaloJetVars{
167 double maxEInEmTowers;
168 double maxEInHadTowers;
169 double energyFractionHadronic;
170 double emEnergyFraction;
171 double hadEnergyInHB;
172 double hadEnergyInHO;
173 double hadEnergyInHE;
174 double hadEnergyInHF;
175 double emEnergyInEB;
176 double emEnergyInEE;
177 double emEnergyInHF;
178 double towersArea;
179 double n90;
180 double n60;
181 };
182
183 struct PFJetVars{
184 double chargedHadronEnergy;
185 double chargedHadronEnergyFraction;
186 double neutralHadronEnergy;
187 double neutralHadronEnergyFraction;
188 double chargedEmEnergy;
189 double chargedEmEnergyFraction;
190 double chargedMuEnergy;
191 double chargedMuEnergyFraction;
192 double neutralEmEnergy;
193 double neutralEmEnergyFraction;
194 double chargedMultiplicity;
195 double neutralMultiplicity;
196 double muonMultiplicity;
197 };
198
199 struct JetBtagVars{
200 double cSV;
201 double cSVMVA;
202 double iPMVA;
203 double bProba;
204 double probability;
205 double sSV;
206 double softElectron;
207 double softMuon;
208 double softMuonNoIP;
209 double tCHE;
210 double tCHP;
211 };
212
213 struct MetVars{
214 double mET;
215 double mEx;
216 double mEy;
217 double sumET;
218 double phi;
219 double mEtSig;
220 };
221
222 struct TriggerVars{
223 std::string name;
224 unsigned int index;
225 bool accept;
226 };
227
228
229
230 }//namespace
231 #endif