CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
81 
91 
113 
116 
120 
121 //Root Classes
122 
123 #include "TH1F.h"
124 #include "TH2F.h"
125 #include "TH1I.h"
126 #include "TFile.h"
127 #include "TDirectory.h"
128 #include "TTree.h"
129 #include "TStyle.h"
130 #include "TCanvas.h"
131 #include "TString.h"
132 #include "TMath.h"
133 #include "TLorentzVector.h"
134 #include "TLegend.h"
135 
136 
137 //Standard C++ classes
138 #include <iostream>
139 #include <ostream>
140 #include <string>
141 #include <map>
142 #include <vector>
143 #include <utility>
144 #include <ostream>
145 #include <fstream>
146 #include <algorithm>
147 #include <cmath>
148 #include <memory>
149 #include <iomanip>
150 
151 class MuonServiceProxy;
152 
154  public:
155  explicit BeamHaloAnalyzer(const edm::ParameterSet&);
157 
158  private:
159 
160  virtual void beginJob();
161  virtual void beginRun(const edm::Run&, const edm::EventSetup& iSetup);
162  virtual void analyze(const edm::Event& , const edm::EventSetup&);
163  virtual void endJob();
164  virtual void endRun(const edm::Run&, const edm::EventSetup&){ if (OutputFileName!="") dqm->save(OutputFileName);}
165 
167 
168  //RecHit Level
176 
177  //Higher Level Reco
188 
189  // Halo Data
195 
196  //Output File
197  std::string OutputFileName;
198  std::string TextFileName;
199  std::string FolderName;
200 
201  ofstream* out;
202  double DumpMET;
203 
204  //Muon-Segment Matching
207 
209 
210  // DAQ Tools
212 
219 
227 
231 
238 
257 
262 
266 
267  // MLR
271  // End MLR
272 
293 
295 
313 };
314 
315 #endif
std::string FolderName
edm::InputTag IT_met
MonitorElement * hEcalHaloData_SuperClusterShowerShapes
MonitorElement * hCSCHaloData_NOutOfTimeTriggersMEMinus
MuonServiceProxy * TheService
MonitorElement * hHcalHaloData_PhiWedgeConstituents
MonitorElement * hExtra_HcalToF_HaloId
MonitorElement * hExtra_CSCTrackInnerOuterDPhi
edm::InputTag IT_HcalHaloData
std::string TextFileName
edm::InputTag IT_BeamHaloSummary
MonitorElement * hExtra_InnerMostTrackHitXY
MonitorElement * hExtra_CSCTrackNHits
MonitorElement * hEcalHaloData_SuperClusterNHits
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMaxTime
MonitorElement * hCSCHaloData_SegmentdT
virtual void endJob()
MonitorElement * hEcalHaloData_PhiWedgeiPhi
edm::InputTag IT_ESRecHit
MonitorElement * hHcalHaloData_PhiWedgePlusZDirectionConfidence
virtual void endRun(const edm::Run &, const edm::EventSetup &)
MonitorElement * hEcalHaloData_PhiWedgeMultiplicity
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
Definition: DQMStore.cc:2113
MonitorElement * hHcalHaloData_PhiWedgeMaxTime
edm::InputTag IT_GlobalHaloData
MonitorElement * hHcalHaloData_PhiWedgeZDirectionConfidence
MonitorElement * hCSCHaloData_FreeInverseBetaVsSegmentdT
MonitorElement * hCSCHaloData_TrackMultiplicityMEMinus
MonitorElement * hCSCHaloData_NTracksSmallBetaAndSmalldT
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMultiplicity
MonitorElement * hExtra_CSCTrackChi2Ndof
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeConstituents
MonitorElement * hExtra_BXN
edm::InputTag IT_EBRecHit
MonitorElement * hCSCHaloData_NFlatSegmentsInBothEndcaps
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeEnergy
edm::InputTag IT_CSCRecHit
MonitorElement * hEcalHaloData_PhiWedgeMinTime
MonitorElement * hCSCHaloData_InnerMostTrackHitRPlusZ
edm::InputTag IT_EcalHaloData
MonitorElement * hEcalHaloData_PhiWedgeEnergy
MonitorElement * hBeamHaloSummary_Id
MonitorElement * hHcalHaloData_PhiWedgeMinVsMaxTime
MonitorElement * hHcalHaloData_PhiWedgeEnergy
MonitorElement * hCSCHaloData_InnerMostTrackHitRMinusZ
MonitorElement * hCSCHaloData_L1HaloTriggersMEMinus
virtual void beginRun(const edm::Run &, const edm::EventSetup &iSetup)
edm::InputTag IT_CosmicStandAloneMuon
MonitorElement * hGlobalHaloData_SumEtCorrection
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeConstituents
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMinTime
edm::InputTag IT_HBHERecHit
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::InputTag IT_Photon
MonitorElement * hExtra_InnerMostTrackHitR
MonitorElement * hBeamHaloSummary_BXN
MonitorElement * hCSCHaloData_NOutOfTimeTriggersMEPlus
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeiPhi
MonitorElement * hExtra_EcalToF
edm::InputTag IT_CollisionStandAloneMuon
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
MonitorElement * hEcalHaloData_SuperClusterPhiVsEta
MonitorElement * hCSCHaloData_NTracksSmalldT
MuonSegmentMatcher * TheMatcher
MonitorElement * hHcalHaloData_PhiWedgeiPhi
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMaxTime
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeEnergy
edm::InputTag IT_CollisionMuon
edm::InputTag IT_SuperCluster
edm::InputTag IT_CaloTower
MonitorElement * hCSCHaloData_TrackMultiplicity
edm::InputTag IT_CosmicMuon
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMultiplicity
MonitorElement * hHcalHaloData_PhiWedgeMinTime
edm::InputTag IT_CSCHaloData
MonitorElement * hHcalHaloData_PhiWedgeMultiplicity
edm::InputTag IT_BeamHaloMuon
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
MonitorElement * hGlobalHaloData_MEyCorrection
MonitorElement * hEcalHaloData_PhiWedgeConstituents
MonitorElement * hCSCHaloData_NOutOfTimeHits
MonitorElement * hEcalHaloData_PhiWedgePlusZDirectionConfidence
MonitorElement * hCSCHaloData_InnerMostTrackHitiPhi
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeiPhi
MonitorElement * hGlobalHaloData_RawMETMinusHaloCorrectedMET
virtual void analyze(const edm::Event &, const edm::EventSetup &)
BeamHaloAnalyzer(const edm::ParameterSet &)
MonitorElement * hExtra_CSCActivityWithMET
virtual void beginJob()
edm::InputTag IT_EERecHit
MonitorElement * hExtra_EcalToF_HaloId
MonitorElement * hCSCHaloData_L1HaloTriggers
edm::InputTag IT_HFRecHit
edm::InputTag IT_CSCSegment
edm::InputTag IT_HORecHit
std::string OutputFileName
Definition: Run.h:33