CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
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