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 
28 
31 
34 
36 
37 #include <iostream>
38 #include <fstream>
39 #include <vector>
40 #include <map>
41 #include <string>
42 #include <memory>
43 
44 class ZDCDigiStudy : public DQMOneEDAnalyzer<> {
45 public:
47  ~ZDCDigiStudy() override;
48 
49  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
50 
51 protected:
52  void dqmEndRun(const edm::Run& run, const edm::EventSetup& c) override;
53 
54  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
55  int FillHitValHist(int side, int section, int channel, double energy, double time);
56 
57 private:
59  //# Below all the monitoring elements #
60  //# are simply the plots "code names" #
61  //# they will be filled in the .cc file #
63 
66 
68 
70 
97 };
98 
99 #endif
ZDCDigiStudy::meZdcfCNEMvHAD
MonitorElement * meZdcfCNEMvHAD
Definition: ZDCDigiStudy.h:77
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
ZDCDigiStudy::meZdcfCPEMvHAD
MonitorElement * meZdcfCPEMvHAD
Definition: ZDCDigiStudy.h:76
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:84
ZDCDigiStudy::meZdcPEM1fCvsTS
MonitorElement * meZdcPEM1fCvsTS
Definition: ZDCDigiStudy.h:78
ZDCDigiStudy::meZdcfCNTOT
MonitorElement * meZdcfCNTOT
Definition: ZDCDigiStudy.h:75
ZDCDigiStudy::meZdcPHAD4fCvsTS
MonitorElement * meZdcPHAD4fCvsTS
Definition: ZDCDigiStudy.h:86
ZDCDigiStudy::tok_zdc_
edm::EDGetTokenT< ZDCDigiCollection > tok_zdc_
Definition: ZDCDigiStudy.h:67
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
ZDCDigiStudy::meZdcPEM5fCvsTS
MonitorElement * meZdcPEM5fCvsTS
Definition: ZDCDigiStudy.h:82
ZDCDigiStudy::meZdcNEM1fCvsTS
MonitorElement * meZdcNEM1fCvsTS
Definition: ZDCDigiStudy.h:87
ZDCDigiStudy::~ZDCDigiStudy
~ZDCDigiStudy() override
Definition: ZDCDigiStudy.cc:39
ZDCDigiStudy::meZdcfCPHAD
MonitorElement * meZdcfCPHAD
Definition: ZDCDigiStudy.h:72
protons_cff.time
time
Definition: protons_cff.py:39
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:64
DQMOneEDAnalyzer.h
ZDCDigiStudy::meZdcNEM2fCvsTS
MonitorElement * meZdcNEM2fCvsTS
Definition: ZDCDigiStudy.h:88
MakerMacros.h
Service.h
HcalDigiCollections.h
ZDCDigiStudy::meZdcfCPTOT
MonitorElement * meZdcfCPTOT
Definition: ZDCDigiStudy.h:73
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
ZDCDigiStudy::meZdcPHAD3fCvsTS
MonitorElement * meZdcPHAD3fCvsTS
Definition: ZDCDigiStudy.h:85
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ZDCDigiStudy::meZdcNHAD2fCvsTS
MonitorElement * meZdcNHAD2fCvsTS
Definition: ZDCDigiStudy.h:93
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
ZDCDigiStudy::meZdcPEM3fCvsTS
MonitorElement * meZdcPEM3fCvsTS
Definition: ZDCDigiStudy.h:80
edm::EventSetup
Definition: EventSetup.h:58
ZDCDigiStudy::verbose_
bool verbose_
Definition: ZDCDigiStudy.h:65
ZDCDigiStudy::meZdcPEM2fCvsTS
MonitorElement * meZdcPEM2fCvsTS
Definition: ZDCDigiStudy.h:79
ZDCDigiStudy::meZdcPEM4fCvsTS
MonitorElement * meZdcPEM4fCvsTS
Definition: ZDCDigiStudy.h:81
ZDCDigiStudy::meZdcNEM4fCvsTS
MonitorElement * meZdcNEM4fCvsTS
Definition: ZDCDigiStudy.h:90
ZDCDigiStudy::meZdcNHAD3fCvsTS
MonitorElement * meZdcNHAD3fCvsTS
Definition: ZDCDigiStudy.h:94
ZDCDigiStudy::ZDCDigiStudy
ZDCDigiStudy(const edm::ParameterSet &ps)
Definition: ZDCDigiStudy.cc:26
ZDCDigiStudy::meZdcNEM3fCvsTS
MonitorElement * meZdcNEM3fCvsTS
Definition: ZDCDigiStudy.h:89
writedatasetfile.run
run
Definition: writedatasetfile.py:27
ZDCDigiStudy
Definition: ZDCDigiStudy.h:44
ZDCDigiStudy::meZdcNEM5fCvsTS
MonitorElement * meZdcNEM5fCvsTS
Definition: ZDCDigiStudy.h:91
Frameworkfwd.h
ZDCDigiStudy::meZdcNHAD4fCvsTS
MonitorElement * meZdcNHAD4fCvsTS
Definition: ZDCDigiStudy.h:95
ZDCDigiStudy::meZdcPHAD1fCvsTS
MonitorElement * meZdcPHAD1fCvsTS
Definition: ZDCDigiStudy.h:83
hgcalPlots.section
section
Definition: hgcalPlots.py:2670
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
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
ZDCDigiStudy::checkHit_
bool checkHit_
Definition: ZDCDigiStudy.h:65
edm::Event
Definition: Event.h:73
ZDCDigiStudy::meZdcNHAD1fCvsTS
MonitorElement * meZdcNHAD1fCvsTS
Definition: ZDCDigiStudy.h:92
ZDCDigiStudy::zdcHits
std::string zdcHits
Definition: ZDCDigiStudy.h:64
ZDCDigiStudy::meZdcfCNHAD
MonitorElement * meZdcfCNHAD
Definition: ZDCDigiStudy.h:74
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