Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-22 02:39:26

0001 #ifndef DataFormatsHcalCalibObjectsHcalIsoTrkCalibVariables_h
0002 #define DataFormatsHcalCalibObjectsHcalIsoTrkCalibVariables_h
0003 #include <string>
0004 #include <vector>
0005 
0006 class HcalIsoTrkCalibVariables {
0007 public:
0008   HcalIsoTrkCalibVariables() { clear(); }
0009 
0010   void clear() {
0011     eventWeight_ = rhoh_ = 0;
0012     nVtx_ = goodPV_ = nTrk_ = 0;
0013     trgbits_.clear();
0014     mindR1_ = l1pt_ = l1eta_ = l1phi_ = 0;
0015     mindR2_ = l3pt_ = l3eta_ = l3phi_ = 0;
0016     p_ = pt_ = phi_ = gentrackP_ = 0;
0017     ieta_ = iphi_ = 0;
0018     eMipDR_.clear();
0019     eHcal_ = eHcal10_ = eHcal30_ = 0;
0020     eHcalRaw_ = eHcal10Raw_ = eHcal30Raw_ = 0;
0021     eHcalAux_ = eHcal10Aux_ = eHcal30Aux_ = 0;
0022     emaxNearP_ = eAnnular_ = hmaxNearP_ = hAnnular_ = 0;
0023     selectTk_ = qltyFlag_ = qltyMissFlag_ = qltyPVFlag_ = false;
0024     detIds_.clear();
0025     hitEnergies_.clear();
0026     hitEnergiesRaw_.clear();
0027     hitEnergiesAux_.clear();
0028     detIds1_.clear();
0029     hitEnergies1_.clear();
0030     hitEnergies1Raw_.clear();
0031     hitEnergies1Aux_.clear();
0032     detIds3_.clear();
0033     hitEnergies3_.clear();
0034     hitEnergies3Raw_.clear();
0035     hitEnergies3Aux_.clear();
0036   };
0037 
0038   double eventWeight_, rhoh_;
0039   int goodPV_, nVtx_, nTrk_;
0040   std::vector<bool> trgbits_;
0041   double mindR1_, l1pt_, l1eta_, l1phi_;
0042   double mindR2_, l3pt_, l3eta_, l3phi_;
0043   double p_, pt_, phi_, gentrackP_;
0044   int ieta_, iphi_;
0045   std::vector<double> eMipDR_;
0046   double eHcal_, eHcal10_, eHcal30_;
0047   double eHcalRaw_, eHcal10Raw_, eHcal30Raw_;
0048   double eHcalAux_, eHcal10Aux_, eHcal30Aux_;
0049   double emaxNearP_, eAnnular_, hmaxNearP_, hAnnular_;
0050   bool selectTk_, qltyFlag_, qltyMissFlag_, qltyPVFlag_;
0051   std::vector<unsigned int> detIds_, detIds1_, detIds3_;
0052   std::vector<double> hitEnergies_, hitEnergies1_, hitEnergies3_;
0053   std::vector<double> hitEnergiesRaw_, hitEnergies1Raw_, hitEnergies3Raw_;
0054   std::vector<double> hitEnergiesAux_, hitEnergies1Aux_, hitEnergies3Aux_;
0055 };
0056 
0057 typedef std::vector<HcalIsoTrkCalibVariables> HcalIsoTrkCalibVariablesCollection;
0058 #endif