CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
80 
88 
110 
113 
118 
119 //Root Classes
120 
121 #include "TH1F.h"
122 #include "TH2F.h"
123 #include "TH1I.h"
124 #include "TFile.h"
125 #include "TDirectory.h"
126 #include "TTree.h"
127 #include "TStyle.h"
128 #include "TCanvas.h"
129 #include "TString.h"
130 #include "TMath.h"
131 #include "TLorentzVector.h"
132 #include "TLegend.h"
133 
134 //Standard C++ classes
135 #include <string>
136 #include <map>
137 #include <vector>
138 #include <utility>
139 #include <ostream>
140 #include <fstream>
141 #include <algorithm>
142 #include <cmath>
143 #include <memory>
144 #include <iomanip>
145 
146 class MuonServiceProxy;
147 
149 public:
150  explicit BeamHaloAnalyzer(const edm::ParameterSet&);
151  ~BeamHaloAnalyzer() override;
152 
153 private:
154  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
155  void analyze(const edm::Event&, const edm::EventSetup&) override;
156 
158 
159  //RecHit Level
167 
168  //Higher Level Reco
178 
179  // Halo Data
186 
188 
189  //Output File
193 
194  std::ofstream* out;
195 
196  double DumpMET;
197 
198  //Muon-Segment Matching
201 
203 
210 
218 
222 
229 
248 
253 
257 
258  // MLR
262  // End MLR
263 
284 
286 
304 };
305 
306 #endif
std::string FolderName
edm::EDGetTokenT< reco::PhotonCollection > IT_Photon
MonitorElement * hEcalHaloData_SuperClusterShowerShapes
MonitorElement * hCSCHaloData_NOutOfTimeTriggersMEMinus
MuonServiceProxy * TheService
~BeamHaloAnalyzer() override
MonitorElement * hHcalHaloData_PhiWedgeConstituents
MonitorElement * hExtra_HcalToF_HaloId
edm::EDGetTokenT< edm::View< reco::Candidate > > IT_CaloTower
MonitorElement * hExtra_CSCTrackInnerOuterDPhi
std::string TextFileName
edm::EDGetTokenT< HBHERecHitCollection > IT_HBHERecHit
MonitorElement * hExtra_InnerMostTrackHitXY
MonitorElement * hExtra_CSCTrackNHits
MonitorElement * hEcalHaloData_SuperClusterNHits
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMaxTime
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > cscGeomToken_
MonitorElement * hCSCHaloData_SegmentdT
std::ofstream * out
MonitorElement * hEcalHaloData_PhiWedgeiPhi
edm::EDGetTokenT< reco::GlobalHaloData > IT_GlobalHaloData
MonitorElement * hHcalHaloData_PhiWedgePlusZDirectionConfidence
MonitorElement * hEcalHaloData_PhiWedgeMultiplicity
MonitorElement * hHcalHaloData_PhiWedgeMaxTime
edm::EDGetTokenT< reco::BeamHaloSummary > IT_BeamHaloSummary
edm::EDGetTokenT< reco::CSCHaloData > IT_CSCHaloData
MonitorElement * hHcalHaloData_PhiWedgeZDirectionConfidence
MonitorElement * hCSCHaloData_FreeInverseBetaVsSegmentdT
MonitorElement * hCSCHaloData_TrackMultiplicityMEMinus
MonitorElement * hCSCHaloData_NTracksSmallBetaAndSmalldT
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMultiplicity
edm::EDGetTokenT< EERecHitCollection > IT_EERecHit
MonitorElement * hExtra_CSCTrackChi2Ndof
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeConstituents
MonitorElement * hExtra_BXN
edm::EDGetTokenT< CSCSegmentCollection > IT_CSCSegment
MonitorElement * hCSCHaloData_NFlatSegmentsInBothEndcaps
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeEnergy
MonitorElement * hEcalHaloData_PhiWedgeMinTime
MonitorElement * hCSCHaloData_InnerMostTrackHitRPlusZ
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * hEcalHaloData_PhiWedgeEnergy
edm::EDGetTokenT< ESRecHitCollection > IT_ESRecHit
MonitorElement * hBeamHaloSummary_Id
MonitorElement * hHcalHaloData_PhiWedgeMinVsMaxTime
MonitorElement * hHcalHaloData_PhiWedgeEnergy
MonitorElement * hCSCHaloData_InnerMostTrackHitRMinusZ
MonitorElement * hCSCHaloData_L1HaloTriggersMEMinus
MonitorElement * hGlobalHaloData_SumEtCorrection
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeConstituents
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMinTime
edm::EDGetTokenT< reco::MuonCollection > IT_BeamHaloMuon
MonitorElement * hEcalHaloData_PhiWedgeMinVsMaxTime
MonitorElement * hExtra_InnerMostTrackHitRPlusZ
MonitorElement * hCSCHaloData_TrackMultiplicityMEPlus
MonitorElement * hGlobalHaloData_MExCorrection
MonitorElement * hExtra_InnerMostTrackHitPhi
MonitorElement * hCSCHaloData_NTracksSmallBeta
MonitorElement * hExtra_HcalToF
MonitorElement * hCSCHaloData_InnerMostTrackHitR
MonitorElement * hExtra_InnerMostTrackHitR
MonitorElement * hBeamHaloSummary_BXN
MonitorElement * hCSCHaloData_NOutOfTimeTriggersMEPlus
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeiPhi
edm::EDGetTokenT< HORecHitCollection > IT_HORecHit
MonitorElement * hExtra_EcalToF
MonitorElement * hCSCHaloData_NOutOfTimeTriggersvsL1HaloExists
MonitorElement * hGlobalHaloData_HaloCorrectedMET
MonitorElement * hEcalHaloData_PhiWedgeMaxTime
MonitorElement * hCSCHaloData_SegmentsInBothEndcaps
edm::InputTag IT_L1MuGMTReadout
MonitorElement * hCSCHaloData_NFlatHaloSegments
MonitorElement * hCSCHaloData_L1HaloTriggersMEPlus
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence
MonitorElement * hCSCHaloData_NOutOfTimeTriggers
edm::EDGetTokenT< CSCRecHit2DCollection > IT_CSCRecHit
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * hEcalHaloData_SuperClusterPhiVsEta
MonitorElement * hCSCHaloData_NTracksSmalldT
MuonSegmentMatcher * TheMatcher
MonitorElement * hHcalHaloData_PhiWedgeiPhi
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMaxTime
edm::EDGetTokenT< reco::MuonTimeExtraMap > IT_CSCTimeMapToken
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeEnergy
edm::EDGetTokenT< reco::EcalHaloData > IT_EcalHaloData
edm::EDGetTokenT< reco::CaloMETCollection > IT_met
MonitorElement * hCSCHaloData_TrackMultiplicity
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
edm::EDGetTokenT< reco::MuonCollection > IT_CollisionMuon
MonitorElement * hCSCHaloData_FreeInverseBeta
MonitorElement * hCSCHaloData_InnerMostTrackHitPhi
MonitorElement * hCSCHaloData_InnerMostTrackHitXY
MonitorElement * hExtra_CSCTrackInnerOuterDEta
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMinTime
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence
MonitorElement * hExtra_InnerMostTrackHitiPhi
MonitorElement * hGlobalHaloData_MEyCorrection
edm::EDGetTokenT< reco::SuperClusterCollection > IT_SuperCluster
MonitorElement * hEcalHaloData_PhiWedgeConstituents
MonitorElement * hCSCHaloData_NOutOfTimeHits
edm::EDGetTokenT< HFRecHitCollection > IT_HFRecHit
MonitorElement * hEcalHaloData_PhiWedgePlusZDirectionConfidence
edm::EDGetTokenT< reco::MuonCollection > IT_CollisionStandAloneMuon
MonitorElement * hCSCHaloData_InnerMostTrackHitiPhi
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeiPhi
MonitorElement * hGlobalHaloData_RawMETMinusHaloCorrectedMET
BeamHaloAnalyzer(const edm::ParameterSet &)
MonitorElement * hExtra_CSCActivityWithMET
MonitorElement * hExtra_EcalToF_HaloId
MonitorElement * hCSCHaloData_L1HaloTriggers
std::string OutputFileName
Definition: Run.h:45
edm::EDGetTokenT< EBRecHitCollection > IT_EBRecHit
edm::EDGetTokenT< reco::HcalHaloData > IT_HcalHaloData
edm::EDGetTokenT< reco::MuonCollection > IT_CosmicStandAloneMuon