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 
79 
89 
111 
114 
115 //Root Classes
116 
117 #include "TH1F.h"
118 #include "TH2F.h"
119 #include "TH1I.h"
120 #include "TFile.h"
121 #include "TDirectory.h"
122 #include "TTree.h"
123 #include "TStyle.h"
124 #include "TCanvas.h"
125 #include "TString.h"
126 #include "TMath.h"
127 #include "TLorentzVector.h"
128 #include "TLegend.h"
129 
130 
131 //Standard C++ classes
132 #include <iostream>
133 #include <ostream>
134 #include <string>
135 #include <map>
136 #include <vector>
137 #include <utility>
138 #include <ostream>
139 #include <fstream>
140 #include <algorithm>
141 #include <cmath>
142 #include <memory>
143 #include <iomanip>
144 
146  public:
147  explicit BeamHaloAnalyzer(const edm::ParameterSet&);
149 
150  private:
151 
152  virtual void beginJob();
153  virtual void beginRun(const edm::Run&, const edm::EventSetup& iSetup);
154  virtual void analyze(const edm::Event& , const edm::EventSetup&);
155  virtual void endJob();
156  virtual void endRun(const edm::Run&, const edm::EventSetup&){ if (OutputFileName!="") dqm->save(OutputFileName);}
157 
159 
160  //RecHit Level
168 
169  //Higher Level Reco
180 
181  // Halo Data
187 
188  //Output File
189  std::string OutputFileName;
190  std::string TextFileName;
191  std::string FolderName;
192 
193  ofstream* out;
194  double DumpMET;
195 
197 
198  // DAQ Tools
200 
207 
215 
219 
226 
241 
246 
267 
269 
287 };
288 
289 #endif
std::string FolderName
edm::InputTag IT_met
MonitorElement * hEcalHaloData_SuperClusterShowerShapes
MonitorElement * hCSCHaloData_NOutOfTimeTriggersMEMinus
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
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:1898
MonitorElement * hHcalHaloData_PhiWedgeMaxTime
edm::InputTag IT_GlobalHaloData
MonitorElement * hHcalHaloData_PhiWedgeZDirectionConfidence
MonitorElement * hCSCHaloData_TrackMultiplicityMEMinus
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMultiplicity
MonitorElement * hExtra_CSCTrackChi2Ndof
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeConstituents
MonitorElement * hExtra_BXN
edm::InputTag IT_EBRecHit
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 * 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
edm::InputTag IT_L1MuGMTReadout
MonitorElement * hCSCHaloData_L1HaloTriggersMEPlus
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence
MonitorElement * hCSCHaloData_NOutOfTimeTriggers
MonitorElement * hEcalHaloData_SuperClusterPhiVsEta
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 * hEcalHaloData_PhiWedgeZDirectionConfidence
MonitorElement * hGlobalHaloData_RawMETOverSumEt
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:32