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 
13 // framework & common header files
25 //#include "Geometry/CommonDetUnit/interface/GeomDetUnit.h"
26 //#include "DataFormats/DetId/interface/DetId.h"
27 #include "TRandom.h"
28 #include "TRandom3.h"
29 
30 //DQM services
34 
35 // tracker info
36 //#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
37 //#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
38 //#include "DataFormats/SiStripDetId/interface/StripSubdetector.h"
39 //#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
40 
41 // muon info
42 //#include "Geometry/Records/interface/MuonGeometryRecord.h"
43 //#include "Geometry/CSCGeometry/interface/CSCGeometry.h"
44 //#include "Geometry/DTGeometry/interface/DTGeometry.h"
45 //#include "Geometry/RPCGeometry/interface/RPCGeometry.h"
46 //#include "DataFormats/MuonDetId/interface/MuonSubdetId.h"
47 //#include "DataFormats/MuonDetId/interface/RPCDetId.h"
48 //#include "DataFormats/MuonDetId/interface/DTWireId.h"
49 
50 // calorimeter info
51 //#include "Geometry/Records/interface/IdealGeometryRecord.h"
52 //#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
53 //#include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
54 //#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
55 //#include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
56 //#include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
57 
58 // data in edm::event
59 //#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
60 //#include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
61 //#include "SimDataFormats/Track/interface/SimTrackContainer.h"
62 //#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
63 //#include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h"
64 
65 // helper files
66 //#include <CLHEP/Vector/LorentzVector.h>
67 //#include "DataFormats/Math/interface/LorentzVector.h"
68 //#include "CLHEP/Units/GlobalSystemOfUnits.h"
69 
70 #include <iostream>
71 #include <stdlib.h>
72 #include <string>
73 #include <memory>
74 #include <vector>
75 
76 #include "TString.h"
77 
79 {
80 
81  public:
82 
83  explicit GlobalHitsTester(const edm::ParameterSet&);
84  virtual ~GlobalHitsTester();
85  virtual void beginJob( void );
86  virtual void endJob();
87  virtual void analyze(const edm::Event&, const edm::EventSetup&);
88  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
89  virtual void endRun(const edm::Run&, const edm::EventSetup&);
90 
91 
92 private:
93  std::string fName;
94  int verbosity;
95  int frequency;
96  int vtxunit;
97  std::string label;
101  std::string outputfile;
102  bool doOutput;
103 
112 
113  TRandom *Random;
114  double RandomVal1;
115  double RandomVal2;
116  double RandomVal3;
117 
118  // private statistics information
119  unsigned int count;
120 };
121 
122 #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:33