CMS 3D CMS Logo

GlobalHitsTester.h
Go to the documentation of this file.
1 #ifndef GlobalHitsTester_h
2 #define GlobalHitsTester_h
3 
11 // framework & common header files
22 //#include "Geometry/CommonDetUnit/interface/GeomDet.h"
23 //#include "DataFormats/DetId/interface/DetId.h"
24 #include "TRandom.h"
25 #include "TRandom3.h"
26 
27 // DQM services
31 
32 // tracker info
33 //#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
34 //#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
35 //#include "DataFormats/SiStripDetId/interface/StripSubdetector.h"
36 //#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
37 
38 // muon info
39 //#include "Geometry/Records/interface/MuonGeometryRecord.h"
40 //#include "Geometry/CSCGeometry/interface/CSCGeometry.h"
41 //#include "Geometry/DTGeometry/interface/DTGeometry.h"
42 //#include "Geometry/RPCGeometry/interface/RPCGeometry.h"
43 //#include "DataFormats/MuonDetId/interface/MuonSubdetId.h"
44 //#include "DataFormats/MuonDetId/interface/RPCDetId.h"
45 //#include "DataFormats/MuonDetId/interface/DTWireId.h"
46 
47 // calorimeter info
48 //#include "Geometry/Records/interface/IdealGeometryRecord.h"
49 //#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
50 //#include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
51 //#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
52 //#include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
53 //#include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
54 
55 // data in edm::event
56 //#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
57 //#include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
58 //#include "SimDataFormats/Track/interface/SimTrackContainer.h"
59 //#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
60 //#include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h"
61 
62 // helper files
63 //#include <CLHEP/Vector/LorentzVector.h>
64 //#include "DataFormats/Math/interface/LorentzVector.h"
65 //#include "CLHEP/Units/GlobalSystemOfUnits.h"
66 
67 #include <cstdlib>
68 #include <iostream>
69 #include <memory>
70 #include <string>
71 #include <vector>
72 
73 #include "TString.h"
74 
76 public:
77  explicit GlobalHitsTester(const edm::ParameterSet &);
78  ~GlobalHitsTester() override;
79  void analyze(const edm::Event &, const edm::EventSetup &) override;
80  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
81 
82 private:
84  int verbosity;
85  int frequency;
86  int vtxunit;
90 
92  bool doOutput;
93 
102 
103  TRandom *Random;
104  double RandomVal1;
105  double RandomVal2;
106  double RandomVal3;
107 
108  // private statistics information
109  unsigned int count;
110 };
111 
112 #endif
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
Handle.h
MessageLogger.h
GlobalHitsTester::meTestTH1F
MonitorElement * meTestTH1F
Definition: GlobalHitsTester.h:97
GlobalHitsTester
Definition: GlobalHitsTester.h:75
ESHandle.h
GlobalHitsTester::getAllProvenances
bool getAllProvenances
Definition: GlobalHitsTester.h:88
edm::Run
Definition: Run.h:45
GlobalHitsTester::meTestProfile2
MonitorElement * meTestProfile2
Definition: GlobalHitsTester.h:101
DQMStore.h
GlobalHitsTester::meTestFloat
MonitorElement * meTestFloat
Definition: GlobalHitsTester.h:96
GlobalHitsTester::Random
TRandom * Random
Definition: GlobalHitsTester.h:103
GlobalHitsTester::meTestTH2F
MonitorElement * meTestTH2F
Definition: GlobalHitsTester.h:98
GlobalHitsTester::count
unsigned int count
Definition: GlobalHitsTester.h:109
MakerMacros.h
GlobalHitsTester::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: GlobalHitsTester.cc:42
Service.h
GlobalHitsTester::~GlobalHitsTester
~GlobalHitsTester() override
Definition: GlobalHitsTester.cc:40
GlobalHitsTester::frequency
int frequency
Definition: GlobalHitsTester.h:85
Provenance.h
Run.h
GlobalHitsTester::label
std::string label
Definition: GlobalHitsTester.h:87
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
GlobalHitsTester::GlobalHitsTester
GlobalHitsTester(const edm::ParameterSet &)
Definition: GlobalHitsTester.cc:4
GlobalHitsTester::meTestProfile1
MonitorElement * meTestProfile1
Definition: GlobalHitsTester.h:100
GlobalHitsTester::vtxunit
int vtxunit
Definition: GlobalHitsTester.h:86
edm::EventSetup
Definition: EventSetup.h:58
GlobalHitsTester::verbosity
int verbosity
Definition: GlobalHitsTester.h:84
GlobalHitsTester::RandomVal2
double RandomVal2
Definition: GlobalHitsTester.h:105
GlobalHitsTester::meTestInt
MonitorElement * meTestInt
Definition: GlobalHitsTester.h:95
Frameworkfwd.h
GlobalHitsTester::RandomVal1
double RandomVal1
Definition: GlobalHitsTester.h:104
GlobalHitsTester::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: GlobalHitsTester.cc:78
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
GlobalHitsTester::printProvenanceInfo
bool printProvenanceInfo
Definition: GlobalHitsTester.h:89
GlobalHitsTester::outputfile
std::string outputfile
Definition: GlobalHitsTester.h:91
GlobalHitsTester::doOutput
bool doOutput
Definition: GlobalHitsTester.h:92
ParameterSet.h
edm::Event
Definition: Event.h:73
GlobalHitsTester::meTestTH3F
MonitorElement * meTestTH3F
Definition: GlobalHitsTester.h:99
GlobalHitsTester::RandomVal3
double RandomVal3
Definition: GlobalHitsTester.h:106
GlobalHitsTester::meTestString
MonitorElement * meTestString
Definition: GlobalHitsTester.h:94
GlobalHitsTester::fName
std::string fName
Definition: GlobalHitsTester.h:83