CMS 3D CMS Logo

MuonSimHitsValidAnalyzer.h
Go to the documentation of this file.
1 #ifndef Validation_MuonHits_MuonSimHitsValidAnalyzer_h
2 #define Validation_MuonHits_MuonSimHitsValidAnalyzer_h
3 
16 
19 
26 
32 
33 #include <iostream>
34 #include <cstdlib>
35 #include <string>
36 #include <memory>
37 #include <vector>
38 
39 #include "TString.h"
40 
41 class TH1F;
42 class TFile;
43 
44 namespace edm {
45  class ParameterSet;
46  class Event;
47  class EventSetup;
48 } // namespace edm
49 
51 public:
52  typedef std::vector<float> FloatVector;
53  typedef std::vector<int> IntegerVector;
54  typedef std::vector<long int> LongIntegerVector;
55  typedef std::vector<unsigned int> UnsigIntegerVector;
56 
58  ~MuonSimHitsValidAnalyzer() override;
59  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
60  void analyze(const edm::Event&, const edm::EventSetup&) override;
61 
62 private:
63  void fillDT(const edm::Event&, const edm::EventSetup&);
64 
65 private:
68  int verbosity;
72 
75 
76  unsigned int iden;
77  Int_t wheel, station, sector, superlayer, layer, wire;
78  Int_t region, ring, subsector, roll;
79  Int_t path, pathchamber;
80  Int_t touch1, touch4, nummu_DT, nummu_RPC, nummu_CSC;
81  Int_t touche1, touche4;
82  Float_t pow6;
83  Float_t mom1, mom4, mome1, mome4;
84  Float_t costeta, radius, sinteta;
85  Float_t globposx, globposy, globposz;
86  Float_t globposphi, globposeta;
87 
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.
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
static const int sdMuonDT
static const int sdMuonCSC
std::string fName
parameter information
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
static const int dMuon
end class declaration
HLT enums.
std::vector< long int > LongIntegerVector
unsigned int count
private statistics information
Definition: Run.h:45
std::vector< unsigned int > UnsigIntegerVector