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
32 
33 // tracker info
34 //#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
35 //#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
36 //#include "DataFormats/SiStripDetId/interface/StripSubdetector.h"
37 //#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
38 
39 // muon info
40 //#include "Geometry/Records/interface/MuonGeometryRecord.h"
41 //#include "Geometry/CSCGeometry/interface/CSCGeometry.h"
42 //#include "Geometry/DTGeometry/interface/DTGeometry.h"
43 //#include "Geometry/RPCGeometry/interface/RPCGeometry.h"
44 //#include "DataFormats/MuonDetId/interface/MuonSubdetId.h"
45 //#include "DataFormats/MuonDetId/interface/RPCDetId.h"
46 //#include "DataFormats/MuonDetId/interface/DTWireId.h"
47 
48 // calorimeter info
49 //#include "Geometry/Records/interface/IdealGeometryRecord.h"
50 //#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
51 //#include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
52 //#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
53 //#include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
54 //#include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
55 
56 // data in edm::event
57 //#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
58 //#include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
59 //#include "SimDataFormats/Track/interface/SimTrackContainer.h"
60 //#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
61 //#include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h"
62 
63 // helper files
64 //#include <CLHEP/Vector/LorentzVector.h>
65 //#include "DataFormats/Math/interface/LorentzVector.h"
66 //#include "CLHEP/Units/GlobalSystemOfUnits.h"
67 
68 #include <cstdlib>
69 #include <iostream>
70 #include <memory>
71 #include <string>
72 #include <vector>
73 
74 #include "TString.h"
75 
77 public:
78  explicit GlobalHitsTester(const edm::ParameterSet &);
79  ~GlobalHitsTester() override;
80  void analyze(const edm::Event &, const edm::EventSetup &) override;
81  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
82 
83 private:
85  int verbosity;
86  int frequency;
87  int vtxunit;
91 
93  bool doOutput;
94 
103 
104  TRandom *Random;
105  double RandomVal1;
106  double RandomVal2;
107  double RandomVal3;
108 
109  // private statistics information
110  unsigned int count;
111 };
112 
113 #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