CMS 3D CMS Logo

L1AnalysisRecoElectronDataFormat.h
Go to the documentation of this file.
1 #ifndef __L1Analysis_L1AnalysisRecoElectronDataFormat_H__
2 #define __L1Analysis_L1AnalysisRecoElectronDataFormat_H__
3 
4 //-------------------------------------------------------------------------------
5 // Created 20/04/2010 - E. Conte, A.C. Le Bihan
6 //
7 //
8 // Original code : L1Trigger/L1TNtuples/L1RecoElectronNtupleProducer - Jim Brooke
9 //-------------------------------------------------------------------------------
10 
11 #include <vector>
12 
13 namespace L1Analysis {
17 
18  void Reset() {
19  nElectrons = 0;
20 
21  e.clear();
22  et.clear();
23  e_ECAL.clear();
24  e_SC.clear();
25  pt.clear();
26  eta.clear();
27  eta_SC.clear();
28  phi_SC.clear();
29  phi.clear();
30  iso.clear();
31  isVetoElectron.clear();
32  isLooseElectron.clear();
33  isMediumElectron.clear();
34  isTightElectron.clear();
35  charge.clear();
36  }
37 
38  unsigned nElectrons;
39  std::vector<float> e;
40  std::vector<float> et;
41  std::vector<float> e_SC;
42  std::vector<float> e_ECAL;
43  std::vector<float> phi_SC;
44  std::vector<float> pt;
45  std::vector<float> eta;
46  std::vector<float> eta_SC;
47  std::vector<float> phi;
48  std::vector<float> iso;
49  std::vector<short> isVetoElectron;
50  std::vector<short> isLooseElectron;
51  std::vector<short> isMediumElectron;
52  std::vector<short> isTightElectron;
53  std::vector<int> charge;
54  };
55 } // namespace L1Analysis
56 #endif
L1Analysis::L1AnalysisRecoElectronDataFormat::eta_SC
std::vector< float > eta_SC
Definition: L1AnalysisRecoElectronDataFormat.h:46
L1Analysis::L1AnalysisRecoElectronDataFormat::L1AnalysisRecoElectronDataFormat
L1AnalysisRecoElectronDataFormat()
Definition: L1AnalysisRecoElectronDataFormat.h:15
L1Analysis::L1AnalysisRecoElectronDataFormat::e
std::vector< float > e
Definition: L1AnalysisRecoElectronDataFormat.h:39
L1Analysis::L1AnalysisRecoElectronDataFormat::pt
std::vector< float > pt
Definition: L1AnalysisRecoElectronDataFormat.h:44
L1Analysis::L1AnalysisRecoElectronDataFormat::iso
std::vector< float > iso
Definition: L1AnalysisRecoElectronDataFormat.h:48
L1Analysis::L1AnalysisRecoElectronDataFormat::e_SC
std::vector< float > e_SC
Definition: L1AnalysisRecoElectronDataFormat.h:41
L1Analysis::L1AnalysisRecoElectronDataFormat::phi
std::vector< float > phi
Definition: L1AnalysisRecoElectronDataFormat.h:47
L1Analysis::L1AnalysisRecoElectronDataFormat::et
std::vector< float > et
Definition: L1AnalysisRecoElectronDataFormat.h:40
L1Analysis::L1AnalysisRecoElectronDataFormat::Reset
void Reset()
Definition: L1AnalysisRecoElectronDataFormat.h:18
L1Analysis::L1AnalysisRecoElectronDataFormat::isTightElectron
std::vector< short > isTightElectron
Definition: L1AnalysisRecoElectronDataFormat.h:52
L1Analysis
Definition: L1AnalysisBMTFInputs.h:18
L1Analysis::L1AnalysisRecoElectronDataFormat::nElectrons
unsigned nElectrons
Definition: L1AnalysisRecoElectronDataFormat.h:38
L1Analysis::L1AnalysisRecoElectronDataFormat::~L1AnalysisRecoElectronDataFormat
~L1AnalysisRecoElectronDataFormat()
Definition: L1AnalysisRecoElectronDataFormat.h:16
L1Analysis::L1AnalysisRecoElectronDataFormat::e_ECAL
std::vector< float > e_ECAL
Definition: L1AnalysisRecoElectronDataFormat.h:42
L1Analysis::L1AnalysisRecoElectronDataFormat
Definition: L1AnalysisRecoElectronDataFormat.h:14
L1Analysis::L1AnalysisRecoElectronDataFormat::isLooseElectron
std::vector< short > isLooseElectron
Definition: L1AnalysisRecoElectronDataFormat.h:50
L1Analysis::L1AnalysisRecoElectronDataFormat::eta
std::vector< float > eta
Definition: L1AnalysisRecoElectronDataFormat.h:45
L1Analysis::L1AnalysisRecoElectronDataFormat::charge
std::vector< int > charge
Definition: L1AnalysisRecoElectronDataFormat.h:53
L1Analysis::L1AnalysisRecoElectronDataFormat::isVetoElectron
std::vector< short > isVetoElectron
Definition: L1AnalysisRecoElectronDataFormat.h:49
L1Analysis::L1AnalysisRecoElectronDataFormat::isMediumElectron
std::vector< short > isMediumElectron
Definition: L1AnalysisRecoElectronDataFormat.h:51
L1Analysis::L1AnalysisRecoElectronDataFormat::phi_SC
std::vector< float > phi_SC
Definition: L1AnalysisRecoElectronDataFormat.h:43