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
23 //#include "Geometry/CommonDetUnit/interface/GeomDetUnit.h"
24 //#include "DataFormats/DetId/interface/DetId.h"
25 #include "TRandom.h"
26 #include "TRandom3.h"
27 
28 //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 beginJob( void );
84  virtual void endJob();
85  virtual void analyze(const edm::Event&, const edm::EventSetup&);
86  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
87  virtual void endRun(const edm::Run&, const edm::EventSetup&);
88 
89 
90 private:
92  int verbosity;
93  int frequency;
94  int vtxunit;
100  bool doOutput;
101 
110 
111  TRandom *Random;
112  double RandomVal1;
113  double RandomVal2;
114  double RandomVal3;
115 
116  // private statistics information
117  unsigned int count;
118 };
119 
120 #endif
MonitorElement * meTestProfile1
std::string outputfile
MonitorElement * meTestInt
MonitorElement * meTestString
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * meTestTH3F
virtual void endJob()
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
virtual void beginJob(void)
MonitorElement * meTestProfile2
virtual void endRun(const edm::Run &, const edm::EventSetup &)
virtual ~GlobalHitsTester()
MonitorElement * meTestTH1F
MonitorElement * meTestFloat
GlobalHitsTester(const edm::ParameterSet &)
unsigned int count
MonitorElement * meTestTH2F
Definition: Run.h:41