Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:37:01

0001 #ifndef __L1Analysis_L1AnalysisL1CaloTowerDataFormat_H__
0002 #define __L1Analysis_L1AnalysisL1CaloTowerDataFormat_H__
0003 
0004 //-------------------------------------------------------------------------------
0005 // Created 20/04/2010 - E. Conte, A.C. Le Bihan
0006 //
0007 //
0008 // Original code : L1Trigger/L1TNtuples/L1NtupleProducer
0009 //-------------------------------------------------------------------------------
0010 
0011 #include <vector>
0012 
0013 namespace L1Analysis {
0014   struct L1AnalysisL1CaloTowerDataFormat {
0015     L1AnalysisL1CaloTowerDataFormat() { Reset(); };
0016     ~L1AnalysisL1CaloTowerDataFormat() {}
0017 
0018     void Reset() {
0019       nTower = 0;
0020       ieta.clear();
0021       iphi.clear();
0022       iet.clear();
0023       iem.clear();
0024       ihad.clear();
0025       iratio.clear();
0026       iqual.clear();
0027       et.clear();
0028       eta.clear();
0029       phi.clear();
0030     }
0031 
0032     void Init() {}
0033 
0034     short nTower;
0035     std::vector<short> ieta;
0036     std::vector<short> iphi;
0037     std::vector<short> iet;
0038     std::vector<short> iem;
0039     std::vector<short> ihad;
0040     std::vector<short> iratio;
0041     std::vector<short> iqual;
0042     std::vector<float> et;
0043     std::vector<float> eta;
0044     std::vector<float> phi;
0045   };
0046 }  // namespace L1Analysis
0047 #endif