CMS 3D CMS Logo

L1AnalysisRecoJetDataFormat.h
Go to the documentation of this file.
1 #ifndef __L1Analysis_L1AnalysisRecoJetDataFormat_H__
2 #define __L1Analysis_L1AnalysisRecoJetDataFormat_H__
3 
4 //-------------------------------------------------------------------------------
5 // Created 20/04/2010 - E. Conte, A.C. Le Bihan
6 //
7 //
8 // Original code : L1Trigger/L1TNtuples/L1RecoJetNtupleProducer - Jim Brooke
9 //-------------------------------------------------------------------------------
10 
11 #include <vector>
12 
13 namespace L1Analysis {
17 
18  void Reset() {
19  nJets = 0;
20 
21  e.clear();
22  et.clear();
23  etCorr.clear();
24  corrFactor.clear();
25  eta.clear();
26  phi.clear();
27 
28  nCaloJets = 0;
29 
30  caloE.clear();
31  caloEt.clear();
32  caloEtCorr.clear();
33  caloCorrFactor.clear();
34  caloEta.clear();
35  caloPhi.clear();
36 
37  // calo quantities
38  eEMF.clear();
39  eEmEB.clear();
40  eEmEE.clear();
41  eEmHF.clear();
42  eHadHB.clear();
43  eHadHE.clear();
44  eHadHO.clear();
45  eHadHF.clear();
46  eMaxEcalTow.clear();
47  eMaxHcalTow.clear();
48  towerArea.clear();
49  towerSize.clear();
50  n60.clear();
51  n90.clear();
52  n90hits.clear();
53  fHPD.clear();
54  fRBX.clear();
55 
56  // PF quantities
57  chef.clear();
58  nhef.clear();
59  pef.clear();
60  eef.clear();
61  mef.clear();
62  hfhef.clear();
63  hfemef.clear();
64  chMult.clear();
65  nhMult.clear();
66  phMult.clear();
67  elMult.clear();
68  muMult.clear();
69  hfhMult.clear();
70  hfemMult.clear();
71 
72  cemef.clear();
73  cmef.clear();
74  nemef.clear();
75  cMult.clear();
76  nMult.clear();
77  }
78 
79  unsigned short nJets;
80  std::vector<float> e;
81  std::vector<float> et;
82  std::vector<float> etCorr;
83  std::vector<float> corrFactor;
84  std::vector<float> eta;
85  std::vector<float> phi;
86 
87  unsigned short nCaloJets;
88  std::vector<float> caloE;
89  std::vector<float> caloEt;
90  std::vector<float> caloEtCorr;
91  std::vector<float> caloCorrFactor;
92  std::vector<float> caloEta;
93  std::vector<float> caloPhi;
94 
95  std::vector<float> eEMF;
96  std::vector<float> eHadHB;
97  std::vector<float> eHadHE;
98  std::vector<float> eHadHO;
99  std::vector<float> eHadHF;
100  std::vector<float> eEmEB;
101  std::vector<float> eEmEE;
102  std::vector<float> eEmHF;
103  std::vector<float> eMaxEcalTow;
104  std::vector<float> eMaxHcalTow;
105  std::vector<float> towerArea;
106  std::vector<short> towerSize;
107  std::vector<short> n60;
108  std::vector<short> n90;
109 
110  std::vector<short> n90hits;
111  std::vector<float> fHPD;
112  std::vector<float> fRBX;
113 
114  std::vector<float> chef;
115  std::vector<float> nhef;
116  std::vector<float> pef;
117  std::vector<float> eef;
118  std::vector<float> mef;
119  std::vector<float> hfhef;
120  std::vector<float> hfemef;
121  std::vector<short> chMult;
122  std::vector<short> nhMult;
123  std::vector<short> phMult;
124  std::vector<short> elMult;
125  std::vector<short> muMult;
126  std::vector<short> hfhMult;
127  std::vector<short> hfemMult;
128 
129  std::vector<float> cemef;
130  std::vector<float> cmef;
131  std::vector<float> nemef;
132  std::vector<int> cMult;
133  std::vector<int> nMult;
134  };
135 } // namespace L1Analysis
136 #endif
L1Analysis::L1AnalysisRecoJetDataFormat::towerSize
std::vector< short > towerSize
Definition: L1AnalysisRecoJetDataFormat.h:106
L1Analysis::L1AnalysisRecoJetDataFormat::eef
std::vector< float > eef
Definition: L1AnalysisRecoJetDataFormat.h:117
L1Analysis::L1AnalysisRecoJetDataFormat::eMaxEcalTow
std::vector< float > eMaxEcalTow
Definition: L1AnalysisRecoJetDataFormat.h:103
L1Analysis::L1AnalysisRecoJetDataFormat::caloEtCorr
std::vector< float > caloEtCorr
Definition: L1AnalysisRecoJetDataFormat.h:90
L1Analysis::L1AnalysisRecoJetDataFormat::eEmHF
std::vector< float > eEmHF
Definition: L1AnalysisRecoJetDataFormat.h:102
L1Analysis::L1AnalysisRecoJetDataFormat::caloE
std::vector< float > caloE
Definition: L1AnalysisRecoJetDataFormat.h:88
L1Analysis::L1AnalysisRecoJetDataFormat::elMult
std::vector< short > elMult
Definition: L1AnalysisRecoJetDataFormat.h:124
L1Analysis::L1AnalysisRecoJetDataFormat::chMult
std::vector< short > chMult
Definition: L1AnalysisRecoJetDataFormat.h:121
L1Analysis::L1AnalysisRecoJetDataFormat::caloCorrFactor
std::vector< float > caloCorrFactor
Definition: L1AnalysisRecoJetDataFormat.h:91
L1Analysis::L1AnalysisRecoJetDataFormat::hfemMult
std::vector< short > hfemMult
Definition: L1AnalysisRecoJetDataFormat.h:127
L1Analysis::L1AnalysisRecoJetDataFormat::~L1AnalysisRecoJetDataFormat
~L1AnalysisRecoJetDataFormat()
Definition: L1AnalysisRecoJetDataFormat.h:16
L1Analysis::L1AnalysisRecoJetDataFormat::n90
std::vector< short > n90
Definition: L1AnalysisRecoJetDataFormat.h:108
L1Analysis::L1AnalysisRecoJetDataFormat::n90hits
std::vector< short > n90hits
Definition: L1AnalysisRecoJetDataFormat.h:110
L1Analysis::L1AnalysisRecoJetDataFormat::fRBX
std::vector< float > fRBX
Definition: L1AnalysisRecoJetDataFormat.h:112
L1Analysis::L1AnalysisRecoJetDataFormat::mef
std::vector< float > mef
Definition: L1AnalysisRecoJetDataFormat.h:118
L1Analysis::L1AnalysisRecoJetDataFormat::nhMult
std::vector< short > nhMult
Definition: L1AnalysisRecoJetDataFormat.h:122
L1Analysis::L1AnalysisRecoJetDataFormat::eHadHF
std::vector< float > eHadHF
Definition: L1AnalysisRecoJetDataFormat.h:99
L1Analysis::L1AnalysisRecoJetDataFormat::chef
std::vector< float > chef
Definition: L1AnalysisRecoJetDataFormat.h:114
L1Analysis::L1AnalysisRecoJetDataFormat::caloEt
std::vector< float > caloEt
Definition: L1AnalysisRecoJetDataFormat.h:89
L1Analysis::L1AnalysisRecoJetDataFormat::caloPhi
std::vector< float > caloPhi
Definition: L1AnalysisRecoJetDataFormat.h:93
L1Analysis::L1AnalysisRecoJetDataFormat::phi
std::vector< float > phi
Definition: L1AnalysisRecoJetDataFormat.h:85
L1Analysis::L1AnalysisRecoJetDataFormat::hfemef
std::vector< float > hfemef
Definition: L1AnalysisRecoJetDataFormat.h:120
L1Analysis::L1AnalysisRecoJetDataFormat::hfhMult
std::vector< short > hfhMult
Definition: L1AnalysisRecoJetDataFormat.h:126
L1Analysis::L1AnalysisRecoJetDataFormat::nhef
std::vector< float > nhef
Definition: L1AnalysisRecoJetDataFormat.h:115
L1Analysis::L1AnalysisRecoJetDataFormat::et
std::vector< float > et
Definition: L1AnalysisRecoJetDataFormat.h:81
L1Analysis
Definition: L1AnalysisBMTFInputs.h:18
L1Analysis::L1AnalysisRecoJetDataFormat::muMult
std::vector< short > muMult
Definition: L1AnalysisRecoJetDataFormat.h:125
L1Analysis::L1AnalysisRecoJetDataFormat::eHadHO
std::vector< float > eHadHO
Definition: L1AnalysisRecoJetDataFormat.h:98
L1Analysis::L1AnalysisRecoJetDataFormat::eMaxHcalTow
std::vector< float > eMaxHcalTow
Definition: L1AnalysisRecoJetDataFormat.h:104
L1Analysis::L1AnalysisRecoJetDataFormat::pef
std::vector< float > pef
Definition: L1AnalysisRecoJetDataFormat.h:116
L1Analysis::L1AnalysisRecoJetDataFormat
Definition: L1AnalysisRecoJetDataFormat.h:14
L1Analysis::L1AnalysisRecoJetDataFormat::eHadHE
std::vector< float > eHadHE
Definition: L1AnalysisRecoJetDataFormat.h:97
L1Analysis::L1AnalysisRecoJetDataFormat::Reset
void Reset()
Definition: L1AnalysisRecoJetDataFormat.h:18
L1Analysis::L1AnalysisRecoJetDataFormat::fHPD
std::vector< float > fHPD
Definition: L1AnalysisRecoJetDataFormat.h:111
L1Analysis::L1AnalysisRecoJetDataFormat::towerArea
std::vector< float > towerArea
Definition: L1AnalysisRecoJetDataFormat.h:105
L1Analysis::L1AnalysisRecoJetDataFormat::cmef
std::vector< float > cmef
Definition: L1AnalysisRecoJetDataFormat.h:130
L1Analysis::L1AnalysisRecoJetDataFormat::cMult
std::vector< int > cMult
Definition: L1AnalysisRecoJetDataFormat.h:132
L1Analysis::L1AnalysisRecoJetDataFormat::eEMF
std::vector< float > eEMF
Definition: L1AnalysisRecoJetDataFormat.h:95
L1Analysis::L1AnalysisRecoJetDataFormat::nJets
unsigned short nJets
Definition: L1AnalysisRecoJetDataFormat.h:79
L1Analysis::L1AnalysisRecoJetDataFormat::eEmEB
std::vector< float > eEmEB
Definition: L1AnalysisRecoJetDataFormat.h:100
L1Analysis::L1AnalysisRecoJetDataFormat::phMult
std::vector< short > phMult
Definition: L1AnalysisRecoJetDataFormat.h:123
L1Analysis::L1AnalysisRecoJetDataFormat::nMult
std::vector< int > nMult
Definition: L1AnalysisRecoJetDataFormat.h:133
L1Analysis::L1AnalysisRecoJetDataFormat::hfhef
std::vector< float > hfhef
Definition: L1AnalysisRecoJetDataFormat.h:119
L1Analysis::L1AnalysisRecoJetDataFormat::corrFactor
std::vector< float > corrFactor
Definition: L1AnalysisRecoJetDataFormat.h:83
L1Analysis::L1AnalysisRecoJetDataFormat::eEmEE
std::vector< float > eEmEE
Definition: L1AnalysisRecoJetDataFormat.h:101
L1Analysis::L1AnalysisRecoJetDataFormat::n60
std::vector< short > n60
Definition: L1AnalysisRecoJetDataFormat.h:107
L1Analysis::L1AnalysisRecoJetDataFormat::L1AnalysisRecoJetDataFormat
L1AnalysisRecoJetDataFormat()
Definition: L1AnalysisRecoJetDataFormat.h:15
L1Analysis::L1AnalysisRecoJetDataFormat::e
std::vector< float > e
Definition: L1AnalysisRecoJetDataFormat.h:80
L1Analysis::L1AnalysisRecoJetDataFormat::cemef
std::vector< float > cemef
Definition: L1AnalysisRecoJetDataFormat.h:129
L1Analysis::L1AnalysisRecoJetDataFormat::eHadHB
std::vector< float > eHadHB
Definition: L1AnalysisRecoJetDataFormat.h:96
L1Analysis::L1AnalysisRecoJetDataFormat::nCaloJets
unsigned short nCaloJets
Definition: L1AnalysisRecoJetDataFormat.h:87
L1Analysis::L1AnalysisRecoJetDataFormat::etCorr
std::vector< float > etCorr
Definition: L1AnalysisRecoJetDataFormat.h:82
L1Analysis::L1AnalysisRecoJetDataFormat::caloEta
std::vector< float > caloEta
Definition: L1AnalysisRecoJetDataFormat.h:92
L1Analysis::L1AnalysisRecoJetDataFormat::eta
std::vector< float > eta
Definition: L1AnalysisRecoJetDataFormat.h:84
L1Analysis::L1AnalysisRecoJetDataFormat::nemef
std::vector< float > nemef
Definition: L1AnalysisRecoJetDataFormat.h:131