CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
50 public:
51 
53  ~ZDCDigiStudy();
54 
55 protected:
56 
57  void beginJob ();
58  void endJob ();
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 
77 
79 
81 
82 
109 
110 
111 
112 };
113 
114 #endif
std::string zdcHits
Definition: ZDCDigiStudy.h:74
MonitorElement * meZdcfCPTOT
Definition: ZDCDigiStudy.h:85
MonitorElement * meZdcPEM1fCvsTS
Definition: ZDCDigiStudy.h:90
MonitorElement * meZdcfCPEMvHAD
Definition: ZDCDigiStudy.h:88
MonitorElement * meZdcPHAD2fCvsTS
Definition: ZDCDigiStudy.h:96
MonitorElement * meZdcfCNTOT
Definition: ZDCDigiStudy.h:87
MonitorElement * meZdcPHAD3fCvsTS
Definition: ZDCDigiStudy.h:97
MonitorElement * meZdcfCPHAD
Definition: ZDCDigiStudy.h:84
MonitorElement * meZdcNHAD2fCvsTS
Definition: ZDCDigiStudy.h:105
MonitorElement * meZdcPEM3fCvsTS
Definition: ZDCDigiStudy.h:92
void endRun(const edm::Run &run, const edm::EventSetup &c)
std::string outFile_
Definition: ZDCDigiStudy.h:74
MonitorElement * meZdcNHAD3fCvsTS
Definition: ZDCDigiStudy.h:106
MonitorElement * meZdcPEM2fCvsTS
Definition: ZDCDigiStudy.h:91
MonitorElement * meZdcNEM2fCvsTS
Definition: ZDCDigiStudy.h:100
MonitorElement * meZdcNEM4fCvsTS
Definition: ZDCDigiStudy.h:102
MonitorElement * meZdcNEM3fCvsTS
Definition: ZDCDigiStudy.h:101
MonitorElement * meZdcPHAD1fCvsTS
Definition: ZDCDigiStudy.h:95
void beginJob()
Definition: ZDCDigiStudy.cc:59
MonitorElement * meZdcNHAD4fCvsTS
Definition: ZDCDigiStudy.h:107
int FillHitValHist(int side, int section, int channel, double energy, double time)
DQMStore * dbe_
Definition: ZDCDigiStudy.h:76
MonitorElement * meZdcNHAD1fCvsTS
Definition: ZDCDigiStudy.h:104
MonitorElement * meZdcfCNHAD
Definition: ZDCDigiStudy.h:86
void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * meZdcfCNEMvHAD
Definition: ZDCDigiStudy.h:89
MonitorElement * meZdcPHAD4fCvsTS
Definition: ZDCDigiStudy.h:98
ZDCDigiStudy(const edm::ParameterSet &ps)
Definition: ZDCDigiStudy.cc:30
MonitorElement * meZdcPEM4fCvsTS
Definition: ZDCDigiStudy.h:93
edm::EDGetTokenT< ZDCDigiCollection > tok_zdc_
Definition: ZDCDigiStudy.h:78
MonitorElement * meZdcPEM5fCvsTS
Definition: ZDCDigiStudy.h:94
MonitorElement * meZdcNEM1fCvsTS
Definition: ZDCDigiStudy.h:99
Definition: Run.h:41
MonitorElement * meZdcNEM5fCvsTS
Definition: ZDCDigiStudy.h:103