CMS 3D CMS Logo

L1AnalysisRecoPhotonDataFormat.h
Go to the documentation of this file.
1 #ifndef __L1Analysis_L1AnalysisRecoPhotonDataFormat_H__
2 #define __L1Analysis_L1AnalysisRecoPhotonDataFormat_H__
3 
4 //-------------------------------------------------------------------------------
5 // Original code : L1Trigger/L1TNtuples/L1RecoPhotonNtupleProducer - Jim Brooke
6 //-------------------------------------------------------------------------------
7 
8 #include <vector>
9 
10 namespace L1Analysis {
14 
15  void Reset() {
16  nPhotons = 0;
17 
18  e.clear();
19  et.clear();
20  pt.clear();
21  eta.clear();
22  phi.clear();
23  r9.clear();
24  hasPixelSeed.clear();
25  isTightPhoton.clear();
26  isLoosePhoton.clear();
27  }
28 
29  unsigned nPhotons;
30  std::vector<float> e;
31  std::vector<float> et;
32  std::vector<float> pt;
33  std::vector<float> eta;
34  std::vector<float> phi;
35  std::vector<float> r9;
36  std::vector<short> hasPixelSeed;
37  std::vector<short> isTightPhoton;
38  std::vector<short> isLoosePhoton;
39  };
40 } // namespace L1Analysis
41 #endif