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 
20 
27 
33 
34 #include <iostream>
35 #include <cstdlib>
36 #include <string>
37 #include <memory>
38 #include <vector>
39 
40 #include "TString.h"
41 
42 class TH1F;
43 class TFile;
44 
45 namespace edm {
46  class ParameterSet; class Event; class EventSetup;}
47 
49 {
50 
51  public:
52 
53  typedef std::vector<float> FloatVector;
54  typedef std::vector<int> IntegerVector;
55  typedef std::vector<long int> LongIntegerVector;
56  typedef std::vector<unsigned int> UnsigIntegerVector;
57 
59  ~MuonSimHitsValidAnalyzer() override;
60  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
61  void analyze(const edm::Event&, const edm::EventSetup&) override;
62 
63  private:
64  void fillDT(const edm::Event&, const edm::EventSetup&);
65 
66  private:
67 
70  int verbosity;
74 
77 
78  unsigned int iden;
79  Int_t wheel, station, sector, superlayer, layer, wire;
80  Int_t region, ring, subsector, roll;
81  Int_t path, pathchamber;
82  Int_t touch1, touch4, nummu_DT, nummu_RPC, nummu_CSC;
83  Int_t touche1, touche4;
84  Float_t pow6;
85  Float_t mom1, mom4, mome1, mome4;
86  Float_t costeta, radius,sinteta;
87  Float_t globposx, globposy, globposz;
88  Float_t globposphi, globposeta;
89 
92 
93  // Monitor elements
94  // DT
128 
130  unsigned int count;
131 
132 };
133 
135 
136 static const int dMuon = 2;
137 
138 static const int sdMuonDT = 1;
139 static const int sdMuonCSC = 2;
140 static const int sdMuonRPC = 3;
141 
142 #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