CMS 3D CMS Logo

BeamHaloAnalyzer.h
Go to the documentation of this file.
1 #ifndef DQMOFFLINE_JETMET_BEAMHALO_ANALYZER_H
2 #define DQMOFFLINE_JETMET_BEAMHALO_ANALYZER_H (1)
3 
4 //authors: Ronny Remington, University of Florida
5 //date: 08/01/09
6 
7 //Included Classes (semi-alphabetical)
54 
81 
91 
113 
116 
121 
122 //Root Classes
123 
124 #include "TH1F.h"
125 #include "TH2F.h"
126 #include "TH1I.h"
127 #include "TFile.h"
128 #include "TDirectory.h"
129 #include "TTree.h"
130 #include "TStyle.h"
131 #include "TCanvas.h"
132 #include "TString.h"
133 #include "TMath.h"
134 #include "TLorentzVector.h"
135 #include "TLegend.h"
136 
137 
138 //Standard C++ classes
139 #include <iostream>
140 #include <ostream>
141 #include <string>
142 #include <map>
143 #include <vector>
144 #include <utility>
145 #include <ostream>
146 #include <fstream>
147 #include <algorithm>
148 #include <cmath>
149 #include <memory>
150 #include <iomanip>
151 
152 class MuonServiceProxy;
153 
155  public:
156  explicit BeamHaloAnalyzer(const edm::ParameterSet&);
158 
159  private:
160 
161  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
162  virtual void analyze(const edm::Event& , const edm::EventSetup&) override;
163 
165 
166  //RecHit Level
174 
175  //Higher Level Reco
185 
186  // Halo Data
192 
194 
195  //Output File
199 
200  std::ofstream* out;
201 
202 
203  double DumpMET;
204 
205  //Muon-Segment Matching
208 
210 
211 
218 
226 
230 
237 
256 
261 
265 
266  // MLR
270  // End MLR
271 
292 
294 
312 };
313 
314 #endif
std::string FolderName
MonitorElement * hEcalHaloData_SuperClusterShowerShapes
MonitorElement * hCSCHaloData_NOutOfTimeTriggersMEMinus
MuonServiceProxy * TheService
MonitorElement * hHcalHaloData_PhiWedgeConstituents
MonitorElement * hExtra_HcalToF_HaloId
edm::EDGetTokenT< edm::View< reco::Candidate > > IT_CaloTower
MonitorElement * hExtra_CSCTrackInnerOuterDPhi
edm::EDGetTokenT< CSCSegmentCollection > IT_CSCSegment
std::string TextFileName
MonitorElement * hExtra_InnerMostTrackHitXY
MonitorElement * hExtra_CSCTrackNHits
MonitorElement * hEcalHaloData_SuperClusterNHits
edm::EDGetTokenT< reco::MuonCollection > IT_CollisionStandAloneMuon
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMaxTime
edm::EDGetTokenT< reco::SuperClusterCollection > IT_SuperCluster
edm::EDGetTokenT< reco::HcalHaloData > IT_HcalHaloData
MonitorElement * hCSCHaloData_SegmentdT
std::ofstream * out
MonitorElement * hEcalHaloData_PhiWedgeiPhi
edm::EDGetTokenT< reco::MuonCollection > IT_CosmicStandAloneMuon
edm::EDGetTokenT< CSCRecHit2DCollection > IT_CSCRecHit
edm::EDGetTokenT< HORecHitCollection > IT_HORecHit
MonitorElement * hHcalHaloData_PhiWedgePlusZDirectionConfidence
MonitorElement * hEcalHaloData_PhiWedgeMultiplicity
MonitorElement * hHcalHaloData_PhiWedgeMaxTime
MonitorElement * hHcalHaloData_PhiWedgeZDirectionConfidence
MonitorElement * hCSCHaloData_FreeInverseBetaVsSegmentdT
edm::EDGetTokenT< reco::CSCHaloData > IT_CSCHaloData
MonitorElement * hCSCHaloData_TrackMultiplicityMEMinus
MonitorElement * hCSCHaloData_NTracksSmallBetaAndSmalldT
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMultiplicity
MonitorElement * hExtra_CSCTrackChi2Ndof
edm::EDGetTokenT< reco::MuonCollection > IT_BeamHaloMuon
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeConstituents
MonitorElement * hExtra_BXN
MonitorElement * hCSCHaloData_NFlatSegmentsInBothEndcaps
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeEnergy
MonitorElement * hEcalHaloData_PhiWedgeMinTime
MonitorElement * hCSCHaloData_InnerMostTrackHitRPlusZ
edm::EDGetTokenT< EERecHitCollection > IT_EERecHit
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * hEcalHaloData_PhiWedgeEnergy
MonitorElement * hBeamHaloSummary_Id
MonitorElement * hHcalHaloData_PhiWedgeMinVsMaxTime
MonitorElement * hHcalHaloData_PhiWedgeEnergy
MonitorElement * hCSCHaloData_InnerMostTrackHitRMinusZ
MonitorElement * hCSCHaloData_L1HaloTriggersMEMinus
MonitorElement * hGlobalHaloData_SumEtCorrection
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeConstituents
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMinTime
MonitorElement * hEcalHaloData_PhiWedgeMinVsMaxTime
MonitorElement * hExtra_InnerMostTrackHitRPlusZ
MonitorElement * hCSCHaloData_TrackMultiplicityMEPlus
MonitorElement * hGlobalHaloData_MExCorrection
MonitorElement * hExtra_InnerMostTrackHitPhi
MonitorElement * hCSCHaloData_NTracksSmallBeta
MonitorElement * hExtra_HcalToF
MonitorElement * hCSCHaloData_InnerMostTrackHitR
edm::EDGetTokenT< HBHERecHitCollection > IT_HBHERecHit
MonitorElement * hExtra_InnerMostTrackHitR
MonitorElement * hBeamHaloSummary_BXN
MonitorElement * hCSCHaloData_NOutOfTimeTriggersMEPlus
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeiPhi
edm::EDGetTokenT< reco::GlobalHaloData > IT_GlobalHaloData
MonitorElement * hExtra_EcalToF
MonitorElement * hCSCHaloData_NOutOfTimeTriggersvsL1HaloExists
MonitorElement * hGlobalHaloData_HaloCorrectedMET
MonitorElement * hEcalHaloData_PhiWedgeMaxTime
MonitorElement * hCSCHaloData_SegmentsInBothEndcaps
edm::InputTag IT_L1MuGMTReadout
edm::EDGetTokenT< reco::MuonTimeExtraMap > IT_CSCTimeMapToken
MonitorElement * hCSCHaloData_NFlatHaloSegments
MonitorElement * hCSCHaloData_L1HaloTriggersMEPlus
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence
MonitorElement * hCSCHaloData_NOutOfTimeTriggers
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * hEcalHaloData_SuperClusterPhiVsEta
MonitorElement * hCSCHaloData_NTracksSmalldT
MuonSegmentMatcher * TheMatcher
MonitorElement * hHcalHaloData_PhiWedgeiPhi
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMaxTime
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeEnergy
edm::EDGetTokenT< EBRecHitCollection > IT_EBRecHit
MonitorElement * hCSCHaloData_TrackMultiplicity
edm::EDGetTokenT< reco::CaloMETCollection > IT_met
edm::EDGetTokenT< reco::EcalHaloData > IT_EcalHaloData
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMultiplicity
MonitorElement * hHcalHaloData_PhiWedgeMinTime
MonitorElement * hHcalHaloData_PhiWedgeMultiplicity
MonitorElement * hExtra_InnerMostTrackHitRMinusZ
MonitorElement * hCSCHaloData_HLHaloTriggers
MonitorElement * hEcalHaloData_SuperClusterEnergy
MonitorElement * hCSCHaloData_NTracksSmalldTvsNHaloTracks
MonitorElement * hEcalHaloData_PhiWedgeZDirectionConfidence
MonitorElement * hGlobalHaloData_RawMETOverSumEt
MonitorElement * hCSCHaloData_FreeInverseBeta
MonitorElement * hCSCHaloData_InnerMostTrackHitPhi
MonitorElement * hCSCHaloData_InnerMostTrackHitXY
MonitorElement * hExtra_CSCTrackInnerOuterDEta
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMinTime
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence
MonitorElement * hExtra_InnerMostTrackHitiPhi
edm::EDGetTokenT< ESRecHitCollection > IT_ESRecHit
MonitorElement * hGlobalHaloData_MEyCorrection
MonitorElement * hEcalHaloData_PhiWedgeConstituents
MonitorElement * hCSCHaloData_NOutOfTimeHits
edm::EDGetTokenT< reco::BeamHaloSummary > IT_BeamHaloSummary
MonitorElement * hEcalHaloData_PhiWedgePlusZDirectionConfidence
MonitorElement * hCSCHaloData_InnerMostTrackHitiPhi
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeiPhi
MonitorElement * hGlobalHaloData_RawMETMinusHaloCorrectedMET
edm::EDGetTokenT< reco::MuonCollection > IT_CollisionMuon
edm::EDGetTokenT< HFRecHitCollection > IT_HFRecHit
BeamHaloAnalyzer(const edm::ParameterSet &)
MonitorElement * hExtra_CSCActivityWithMET
MonitorElement * hExtra_EcalToF_HaloId
MonitorElement * hCSCHaloData_L1HaloTriggers
std::string OutputFileName
Definition: Run.h:42
edm::EDGetTokenT< reco::PhotonCollection > IT_Photon