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 
66 #include <cstdlib>
67 #include <iostream>
68 #include <memory>
69 #include <string>
70 #include <vector>
71 
72 #include "TString.h"
73 
75 public:
76  explicit GlobalHitsTester(const edm::ParameterSet &);
77  ~GlobalHitsTester() override;
78  void analyze(const edm::Event &, const edm::EventSetup &) override;
79  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
80 
81 private:
83  int verbosity;
84  int frequency;
85  int vtxunit;
89 
91  bool doOutput;
92 
101 
102  TRandom *Random;
103  double RandomVal1;
104  double RandomVal2;
105  double RandomVal3;
106 
107  // private statistics information
108  unsigned int count;
109 };
110 
111 #endif
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * meTestProfile1
std::string outputfile
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * meTestInt
MonitorElement * meTestString
MonitorElement * meTestTH3F
MonitorElement * meTestProfile2
MonitorElement * meTestTH1F
MonitorElement * meTestFloat
GlobalHitsTester(const edm::ParameterSet &)
unsigned int count
MonitorElement * meTestTH2F
~GlobalHitsTester() override
Definition: Run.h:45