File indexing completed on 2024-04-06 12:21:12
0001 #ifndef __L1Analysis_L1AnalysisRecoPhotonDataFormat_H__
0002 #define __L1Analysis_L1AnalysisRecoPhotonDataFormat_H__
0003
0004
0005
0006
0007
0008 #include <vector>
0009
0010 namespace L1Analysis {
0011 struct L1AnalysisRecoPhotonDataFormat {
0012 L1AnalysisRecoPhotonDataFormat() { Reset(); };
0013 ~L1AnalysisRecoPhotonDataFormat() { Reset(); };
0014
0015 void Reset() {
0016 nPhotons = 0;
0017
0018 e.clear();
0019 et.clear();
0020 pt.clear();
0021 eta.clear();
0022 phi.clear();
0023 r9.clear();
0024 hasPixelSeed.clear();
0025 isTightPhoton.clear();
0026 isLoosePhoton.clear();
0027 }
0028
0029 unsigned nPhotons;
0030 std::vector<float> e;
0031 std::vector<float> et;
0032 std::vector<float> pt;
0033 std::vector<float> eta;
0034 std::vector<float> phi;
0035 std::vector<float> r9;
0036 std::vector<short> hasPixelSeed;
0037 std::vector<short> isTightPhoton;
0038 std::vector<short> isLoosePhoton;
0039 };
0040 }
0041 #endif