Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:16

0001 #ifndef DataFormatsHcalCalibObjectsHcalHBHEMuonVariables_h
0002 #define DataFormatsHcalCalibObjectsHcalHBHEMuonVariables_h
0003 #include <string>
0004 #include <vector>
0005 
0006 class HcalHBHEMuonVariables {
0007 public:
0008   HcalHBHEMuonVariables() { clear(); }
0009 
0010   void clear() {
0011     runNumber_ = eventNumber_ = lumiNumber_ = bxNumber_ = goodVertex_ = 0;
0012     muonGood_ = muonGlobal_ = muonTracker_ = muonTight_ = muonMedium_ = false;
0013     ptGlob_ = etaGlob_ = phiGlob_ = energyMuon_ = pMuon_ = 0;
0014     muonTrkKink_ = muonChi2LocalPosition_ = muonSegComp_ = 0;
0015     trackerLayer_ = numPixelLayers_ = tightPixelHits_ = 0;
0016     innerTrack_ = outerTrack_ = globalTrack_ = false;
0017     chiTracker_ = dxyTracker_ = dzTracker_ = 0;
0018     innerTrackPt_ = innerTrackEta_ = innerTrackPhi_ = 0;
0019     outerTrackHits_ = outerTrackRHits_ = 0;
0020     outerTrackPt_ = outerTrackEta_ = outerTrackPhi_ = outerTrackChi_ = 0;
0021     globalMuonHits_ = matchedStat_ = 0;
0022     globalTrackPt_ = globalTrackEta_ = globalTrackPhi_ = chiGlobal_ = 0;
0023     tightValidFraction_ = tightLongPara_ = tightTransImpara_ = 0;
0024     isolationR04_ = isolationR03_ = 0;
0025     ecalDetId_ = 0;
0026     ecalEnergy_ = ecal3x3Energy_ = 0;
0027     hcalDetId_ = ehcalDetId_ = 0;
0028     matchedId_ = hcalHot_ = false;
0029     hcalIeta_ = hcalIphi_ = 0;
0030     hcalEnergy_ = hoEnergy_ = 0;
0031     hcal1x1Energy_ = hcal1x1EnergyAux_ = hcal1x1EnergyRaw_ = 0;
0032     hcalDepthActiveLength_.clear();
0033     hcalDepthActiveLengthHot_.clear();
0034     hcalDepthEnergy_.clear();
0035     hcalDepthEnergyHot_.clear();
0036     hcalDepthEnergyCorr_.clear();
0037     hcalDepthEnergyHotCorr_.clear();
0038     hcalDepthChargeHot_.clear();
0039     hcalDepthChargeHotBG_.clear();
0040     hcalDepthEnergyAux_.clear();
0041     hcalDepthEnergyHotAux_.clear();
0042     hcalDepthEnergyCorrAux_.clear();
0043     hcalDepthEnergyHotCorrAux_.clear();
0044     hcalDepthChargeHotAux_.clear();
0045     hcalDepthChargeHotBGAux_.clear();
0046     hcalDepthEnergyRaw_.clear();
0047     hcalDepthEnergyHotRaw_.clear();
0048     hcalDepthEnergyCorrRaw_.clear();
0049     hcalDepthEnergyHotCorrRaw_.clear();
0050     hcalDepthChargeHotRaw_.clear();
0051     hcalDepthChargeHotBGRaw_.clear();
0052     hcalDepthMatch_.clear();
0053     hcalDepthMatchHot_.clear();
0054     hcalActiveLength_ = hcalActiveLengthHot_ = 0;
0055     allTriggers_.clear();
0056     hltResults_.clear();
0057   }
0058 
0059   unsigned int runNumber_, eventNumber_, lumiNumber_, bxNumber_, goodVertex_;
0060   bool muonGood_, muonGlobal_, muonTracker_, muonTight_, muonMedium_;
0061   float ptGlob_, etaGlob_, phiGlob_, energyMuon_, pMuon_;
0062   float muonTrkKink_, muonChi2LocalPosition_, muonSegComp_;
0063   int trackerLayer_, numPixelLayers_, tightPixelHits_;
0064   bool innerTrack_, outerTrack_, globalTrack_;
0065   float chiTracker_, dxyTracker_, dzTracker_;
0066   float innerTrackPt_, innerTrackEta_, innerTrackPhi_;
0067   int outerTrackHits_, outerTrackRHits_;
0068   float outerTrackPt_, outerTrackEta_, outerTrackPhi_, outerTrackChi_;
0069   int globalMuonHits_, matchedStat_;
0070   float globalTrackPt_, globalTrackEta_, globalTrackPhi_, chiGlobal_;
0071   float tightValidFraction_, tightLongPara_, tightTransImpara_;
0072   float isolationR04_, isolationR03_;
0073   unsigned int ecalDetId_;
0074   float ecalEnergy_, ecal3x3Energy_;
0075   unsigned int hcalDetId_, ehcalDetId_;
0076   bool matchedId_, hcalHot_;
0077   int hcalIeta_, hcalIphi_;
0078   float hcalEnergy_, hoEnergy_;
0079   float hcal1x1Energy_, hcal1x1EnergyAux_, hcal1x1EnergyRaw_;
0080   std::vector<float> hcalDepthActiveLength_, hcalDepthActiveLengthHot_;
0081   std::vector<float> hcalDepthEnergy_, hcalDepthEnergyHot_;
0082   std::vector<float> hcalDepthEnergyCorr_, hcalDepthEnergyHotCorr_;
0083   std::vector<float> hcalDepthChargeHot_, hcalDepthChargeHotBG_;
0084   std::vector<float> hcalDepthEnergyAux_, hcalDepthEnergyHotAux_;
0085   std::vector<float> hcalDepthEnergyCorrAux_, hcalDepthEnergyHotCorrAux_;
0086   std::vector<float> hcalDepthChargeHotAux_, hcalDepthChargeHotBGAux_;
0087   std::vector<float> hcalDepthEnergyRaw_, hcalDepthEnergyHotRaw_;
0088   std::vector<float> hcalDepthEnergyCorrRaw_, hcalDepthEnergyHotCorrRaw_;
0089   std::vector<float> hcalDepthChargeHotRaw_, hcalDepthChargeHotBGRaw_;
0090   std::vector<bool> hcalDepthMatch_, hcalDepthMatchHot_;
0091   float hcalActiveLength_, hcalActiveLengthHot_;
0092   std::vector<std::string> allTriggers_;
0093   std::vector<int> hltResults_;
0094 };
0095 
0096 typedef std::vector<HcalHBHEMuonVariables> HcalHBHEMuonVariablesCollection;
0097 #endif