Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:12:57

0001 #ifndef __L1Analysis_L1AnalysisRecoTauDataFormat_H__
0002 #define __L1Analysis_L1AnalysisRecoTauDataFormat_H__
0003 
0004 //-------------------------------------------------------------------------------
0005 // Created 20/04/2010 - E. Conte, A.C. Le Bihan
0006 //
0007 //
0008 // Original code : L1Trigger/L1TNtuples/L1RecoTauNtupleProducer - Jim Brooke
0009 //-------------------------------------------------------------------------------
0010 
0011 #include <vector>
0012 
0013 namespace L1Analysis {
0014   struct L1AnalysisRecoTauDataFormat {
0015     L1AnalysisRecoTauDataFormat() { Reset(); };
0016     ~L1AnalysisRecoTauDataFormat() { Reset(); };
0017 
0018     void Reset() {
0019       nTaus = 0;
0020 
0021       e.clear();
0022       et.clear();
0023       pt.clear();
0024       eta.clear();
0025       phi.clear();
0026       TightIsoFlag.clear();
0027       RawIso.clear();
0028       LooseIsoFlag.clear();
0029       LooseAntiMuonFlag.clear();
0030       TightAntiMuonFlag.clear();
0031       VLooseAntiElectronFlag.clear();
0032       LooseAntiElectronFlag.clear();
0033       TightAntiElectronFlag.clear();
0034       DMFindingNewDMs.clear();
0035       DMFindingOldDMs.clear();
0036       charge.clear();
0037     }
0038 
0039     unsigned nTaus;
0040     std::vector<float> e;
0041     std::vector<float> et;
0042     std::vector<float> pt;
0043     std::vector<float> eta;
0044     std::vector<float> phi;
0045     std::vector<float> DMFindingNewDMs;
0046     std::vector<float> DMFindingOldDMs;
0047     std::vector<float> TightIsoFlag;
0048     std::vector<float> RawIso;
0049     std::vector<float> LooseIsoFlag;
0050     std::vector<float> LooseAntiMuonFlag;
0051     std::vector<float> TightAntiMuonFlag;
0052     std::vector<float> VLooseAntiElectronFlag;
0053     std::vector<float> LooseAntiElectronFlag;
0054     std::vector<float> TightAntiElectronFlag;
0055     std::vector<int> charge;
0056   };
0057 }  // namespace L1Analysis
0058 #endif