test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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/GeomDetUnit.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 <iostream>
69 #include <stdlib.h>
70 #include <string>
71 #include <memory>
72 #include <vector>
73 
74 #include "TString.h"
75 
77 {
78 
79  public:
80 
81  explicit GlobalHitsTester(const edm::ParameterSet&);
82  virtual ~GlobalHitsTester();
83  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
85  edm::Run const &, edm::EventSetup const &) override;
86 
87 private:
89  int verbosity;
90  int frequency;
91  int vtxunit;
95 
97  bool doOutput;
98 
107 
108  TRandom *Random;
109  double RandomVal1;
110  double RandomVal2;
111  double RandomVal3;
112 
113  // private statistics information
114  unsigned int count;
115 };
116 
117 #endif
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * meTestProfile1
std::string outputfile
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * meTestInt
MonitorElement * meTestString
MonitorElement * meTestTH3F
MonitorElement * meTestProfile2
virtual ~GlobalHitsTester()
MonitorElement * meTestTH1F
MonitorElement * meTestFloat
GlobalHitsTester(const edm::ParameterSet &)
unsigned int count
MonitorElement * meTestTH2F
Definition: Run.h:42