CMS 3D CMS Logo

ZDCDigiStudy.h
Go to the documentation of this file.
1 // Package: ZDCDigiStudy
3 // Class: ZDCDigiStudy
4 //
5 /*
6  Description:
7  This code has been developed to be a check for the ZDC sim. In 2009, it was found that the ZDC Simulation was unrealistic and needed repair. The aim of this code is to show the user the input and output of a ZDC MinBias simulation.
8 
9  Implementation:
10  First a MinBias simulation should be run, it could be pythia,hijin,or hydjet. This will output a .root file which should have information about recoGenParticles, hcalunsuppresseddigis. Use this .root file as the input into the cfg.py which is found in the main directory of this package. This output will be another .root file which is meant to be viewed in a TBrowser.
11 
12 */
13 //
14 // Original Author: Jaime Gomez (U. of Maryland) with SIGNIFICANT assistance of Dr. Jefferey Temple (U. of Maryland)
15 //
16 //
17 // Created: Summer 2012
19 
20 #ifndef SimG4CMS_ZDCDigiStudy_H
21 #define SimG4CMS_ZDCDigiStudy_H
22 
29 
32 
35 
37 
38 #include <iostream>
39 #include <fstream>
40 #include <vector>
41 #include <map>
42 #include <string>
43 #include <memory>
44 
45 class ZDCDigiStudy : public DQMOneEDAnalyzer<> {
46 public:
48  ~ZDCDigiStudy() override;
49 
50  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
51 
52 protected:
53  void dqmEndRun(const edm::Run& run, const edm::EventSetup& c) override;
54 
55  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
56  int FillHitValHist(int side, int section, int channel, double energy, double time);
57 
58 private:
60  //# Below all the monitoring elements #
61  //# are simply the plots "code names" #
62  //# they will be filled in the .cc file #
64 
67 
69 
71 
98 };
99 
100 #endif
ZDCDigiStudy::meZdcfCNEMvHAD
MonitorElement * meZdcfCNEMvHAD
Definition: ZDCDigiStudy.h:78
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
ZDCDigiStudy::meZdcfCPEMvHAD
MonitorElement * meZdcfCPEMvHAD
Definition: ZDCDigiStudy.h:77
ZDCDigiStudy::dqmEndRun
void dqmEndRun(const edm::Run &run, const edm::EventSetup &c) override
Definition: ZDCDigiStudy.cc:367
MessageLogger.h
ZDCDigiStudy::meZdcPHAD2fCvsTS
MonitorElement * meZdcPHAD2fCvsTS
Definition: ZDCDigiStudy.h:85
ZDCDigiStudy::meZdcPEM1fCvsTS
MonitorElement * meZdcPEM1fCvsTS
Definition: ZDCDigiStudy.h:79
ZDCDigiStudy::meZdcfCNTOT
MonitorElement * meZdcfCNTOT
Definition: ZDCDigiStudy.h:76
ZDCDigiStudy::meZdcPHAD4fCvsTS
MonitorElement * meZdcPHAD4fCvsTS
Definition: ZDCDigiStudy.h:87
ESHandle.h
ZDCDigiStudy::tok_zdc_
edm::EDGetTokenT< ZDCDigiCollection > tok_zdc_
Definition: ZDCDigiStudy.h:68
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
ZDCDigiStudy::meZdcPEM5fCvsTS
MonitorElement * meZdcPEM5fCvsTS
Definition: ZDCDigiStudy.h:83
ZDCDigiStudy::meZdcNEM1fCvsTS
MonitorElement * meZdcNEM1fCvsTS
Definition: ZDCDigiStudy.h:88
ZDCDigiStudy::~ZDCDigiStudy
~ZDCDigiStudy() override
Definition: ZDCDigiStudy.cc:39
ZDCDigiStudy::meZdcfCPHAD
MonitorElement * meZdcfCPHAD
Definition: ZDCDigiStudy.h:73
DQMOneEDAnalyzer
Definition: DQMOneEDAnalyzer.h:20
DQMStore.h
ZDCDigiStudy::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: ZDCDigiStudy.cc:194
ZDCDigiStudy::outFile_
std::string outFile_
Definition: ZDCDigiStudy.h:65
DQMOneEDAnalyzer.h
ZDCDigiStudy::meZdcNEM2fCvsTS
MonitorElement * meZdcNEM2fCvsTS
Definition: ZDCDigiStudy.h:89
MakerMacros.h
Service.h
HcalDigiCollections.h
ZDCDigiStudy::meZdcfCPTOT
MonitorElement * meZdcfCPTOT
Definition: ZDCDigiStudy.h:74
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
ZDCDigiStudy::meZdcPHAD3fCvsTS
MonitorElement * meZdcPHAD3fCvsTS
Definition: ZDCDigiStudy.h:86
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ZDCDigiStudy::meZdcNHAD2fCvsTS
MonitorElement * meZdcNHAD2fCvsTS
Definition: ZDCDigiStudy.h:94
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
ZDCDigiStudy::meZdcPEM3fCvsTS
MonitorElement * meZdcPEM3fCvsTS
Definition: ZDCDigiStudy.h:81
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
ZDCDigiStudy::verbose_
bool verbose_
Definition: ZDCDigiStudy.h:66
ZDCDigiStudy::meZdcPEM2fCvsTS
MonitorElement * meZdcPEM2fCvsTS
Definition: ZDCDigiStudy.h:80
ZDCDigiStudy::meZdcPEM4fCvsTS
MonitorElement * meZdcPEM4fCvsTS
Definition: ZDCDigiStudy.h:82
ZDCDigiStudy::meZdcNEM4fCvsTS
MonitorElement * meZdcNEM4fCvsTS
Definition: ZDCDigiStudy.h:91
trackingPlots.section
section
Definition: trackingPlots.py:1380
ZDCDigiStudy::meZdcNHAD3fCvsTS
MonitorElement * meZdcNHAD3fCvsTS
Definition: ZDCDigiStudy.h:95
ZDCDigiStudy::ZDCDigiStudy
ZDCDigiStudy(const edm::ParameterSet &ps)
Definition: ZDCDigiStudy.cc:26
ZDCDigiStudy::meZdcNEM3fCvsTS
MonitorElement * meZdcNEM3fCvsTS
Definition: ZDCDigiStudy.h:90
writedatasetfile.run
run
Definition: writedatasetfile.py:27
ZDCDigiStudy
Definition: ZDCDigiStudy.h:45
ZDCDigiStudy::meZdcNEM5fCvsTS
MonitorElement * meZdcNEM5fCvsTS
Definition: ZDCDigiStudy.h:92
Frameworkfwd.h
ZDCDigiStudy::meZdcNHAD4fCvsTS
MonitorElement * meZdcNHAD4fCvsTS
Definition: ZDCDigiStudy.h:96
ZDCDigiStudy::meZdcPHAD1fCvsTS
MonitorElement * meZdcPHAD1fCvsTS
Definition: ZDCDigiStudy.h:84
ZDCDigiStudy::FillHitValHist
int FillHitValHist(int side, int section, int channel, double energy, double time)
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
ParameterSet.h
ntuplemaker.time
time
Definition: ntuplemaker.py:310
ZDCDigiStudy::checkHit_
bool checkHit_
Definition: ZDCDigiStudy.h:66
edm::Event
Definition: Event.h:73
ZDCDigiStudy::meZdcNHAD1fCvsTS
MonitorElement * meZdcNHAD1fCvsTS
Definition: ZDCDigiStudy.h:93
ZDCDigiStudy::zdcHits
std::string zdcHits
Definition: ZDCDigiStudy.h:65
ZDCDigiStudy::meZdcfCNHAD
MonitorElement * meZdcfCNHAD
Definition: ZDCDigiStudy.h:75
ZDCDigiStudy::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: ZDCDigiStudy.cc:41
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37