CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MuonSimHitsValidAnalyzer.h
Go to the documentation of this file.
1 #ifndef Validation_MuonHits_MuonSimHitsValidAnalyzer_h
2 #define Validation_MuonHits_MuonSimHitsValidAnalyzer_h
3 
15 
18 
25 
31 
32 #include <iostream>
33 #include <cstdlib>
34 #include <string>
35 #include <memory>
36 #include <vector>
37 
38 #include "TString.h"
39 
40 class TH1F;
41 class TFile;
42 
43 namespace edm {
44  class ParameterSet;
45  class Event;
46  class EventSetup;
47 } // namespace edm
48 
50 public:
51  typedef std::vector<float> FloatVector;
52  typedef std::vector<int> IntegerVector;
53  typedef std::vector<long int> LongIntegerVector;
54  typedef std::vector<unsigned int> UnsigIntegerVector;
55 
57  ~MuonSimHitsValidAnalyzer() override;
58  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
59  void analyze(const edm::Event&, const edm::EventSetup&) override;
60 
61 private:
62  void fillDT(const edm::Event&, const edm::EventSetup&);
63 
64 private:
67  int verbosity;
71 
74 
75  unsigned int iden;
78  Int_t path, pathchamber;
80  Int_t touche1, touche4;
81  Float_t pow6;
82  Float_t mom1, mom4, mome1, mome4;
83  Float_t costeta, radius, sinteta;
86 
90 
91  // Monitor elements
92  // DT
126 
128  unsigned int count;
129 
130 };
131 
133 
134 static const int dMuon = 2;
135 
136 static const int sdMuonDT = 1;
137 static const int sdMuonCSC = 2;
138 static const int sdMuonRPC = 3;
139 
140 #endif
static const int sdMuonRPC
std::vector< float > FloatVector
edm::EDGetTokenT< edm::PSimHitContainer > DTHitsToken_
Input tags.
static const int sdMuonDT
edm::ESGetToken< DTGeometry, MuonGeometryRecord > geomToken_
static const int sdMuonCSC
MuonSimHitsValidAnalyzer(const edm::ParameterSet &)
std::string fName
parameter information
static const int dMuon
end class declaration
void analyze(const edm::Event &, const edm::EventSetup &) override
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< long int > LongIntegerVector
unsigned int count
private statistics information
Definition: Run.h:45
void fillDT(const edm::Event &, const edm::EventSetup &)
std::vector< unsigned int > UnsigIntegerVector