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 
21 
22 #ifndef SimG4CMS_ZDCDigiStudy_H
23 #define SimG4CMS_ZDCDigiStudy_H
24 
31 
34 
38 
39 
41 
42 #include <iostream>
43 #include <fstream>
44 #include <vector>
45 #include <map>
46 #include <string>
47 #include <memory>
48 
49 class ZDCDigiStudy: public DQMEDAnalyzer {
50 public:
51 
53  ~ZDCDigiStudy();
54 
55  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &);
56 
57 protected:
58 
59  void endRun(const edm::Run& run, const edm::EventSetup& c);
60 
61  void analyze (const edm::Event& e, const edm::EventSetup& c);
62  int FillHitValHist (int side,int section,int channel,double energy,double time);
63 
64 private:
65 
67  //# Below all the monitoring elements #
68  //# are simply the plots "code names" #
69  //# they will be filled in the .cc file #
71 
72 
73 
76 
78 
80 
81 
108 
109 
110 
111 };
112 
113 #endif
std::string zdcHits
Definition: ZDCDigiStudy.h:74
MonitorElement * meZdcfCPTOT
Definition: ZDCDigiStudy.h:84
MonitorElement * meZdcPEM1fCvsTS
Definition: ZDCDigiStudy.h:89
MonitorElement * meZdcfCPEMvHAD
Definition: ZDCDigiStudy.h:87
MonitorElement * meZdcPHAD2fCvsTS
Definition: ZDCDigiStudy.h:95
MonitorElement * meZdcfCNTOT
Definition: ZDCDigiStudy.h:86
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
Definition: ZDCDigiStudy.cc:49
MonitorElement * meZdcPHAD3fCvsTS
Definition: ZDCDigiStudy.h:96
MonitorElement * meZdcfCPHAD
Definition: ZDCDigiStudy.h:83
MonitorElement * meZdcNHAD2fCvsTS
Definition: ZDCDigiStudy.h:104
MonitorElement * meZdcPEM3fCvsTS
Definition: ZDCDigiStudy.h:91
void endRun(const edm::Run &run, const edm::EventSetup &c)
std::string outFile_
Definition: ZDCDigiStudy.h:74
MonitorElement * meZdcNHAD3fCvsTS
Definition: ZDCDigiStudy.h:105
MonitorElement * meZdcPEM2fCvsTS
Definition: ZDCDigiStudy.h:90
MonitorElement * meZdcNEM2fCvsTS
Definition: ZDCDigiStudy.h:99
MonitorElement * meZdcNEM4fCvsTS
Definition: ZDCDigiStudy.h:101
MonitorElement * meZdcNEM3fCvsTS
Definition: ZDCDigiStudy.h:100
MonitorElement * meZdcPHAD1fCvsTS
Definition: ZDCDigiStudy.h:94
MonitorElement * meZdcNHAD4fCvsTS
Definition: ZDCDigiStudy.h:106
int FillHitValHist(int side, int section, int channel, double energy, double time)
MonitorElement * meZdcNHAD1fCvsTS
Definition: ZDCDigiStudy.h:103
MonitorElement * meZdcfCNHAD
Definition: ZDCDigiStudy.h:85
void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * meZdcfCNEMvHAD
Definition: ZDCDigiStudy.h:88
MonitorElement * meZdcPHAD4fCvsTS
Definition: ZDCDigiStudy.h:97
ZDCDigiStudy(const edm::ParameterSet &ps)
Definition: ZDCDigiStudy.cc:30
MonitorElement * meZdcPEM4fCvsTS
Definition: ZDCDigiStudy.h:92
edm::EDGetTokenT< ZDCDigiCollection > tok_zdc_
Definition: ZDCDigiStudy.h:77
MonitorElement * meZdcPEM5fCvsTS
Definition: ZDCDigiStudy.h:93
MonitorElement * meZdcNEM1fCvsTS
Definition: ZDCDigiStudy.h:98
Definition: Run.h:42
MonitorElement * meZdcNEM5fCvsTS
Definition: ZDCDigiStudy.h:102