CMS 3D CMS Logo

MuonSimHitsValidAnalyzer.h
Go to the documentation of this file.
1 #ifndef MuonSimHitsValidAnalyzer_h
2 #define MuonSimHitsValidAnalyzer_h
3 
18 
22 
29 
32 
34 //#include "SimDataFormats/ValidationFormats/interface/PValidationFormats.h"
39 
41 #include <CLHEP/Vector/LorentzVector.h>
42 #include "CLHEP/Units/GlobalSystemOfUnits.h"
43 
44 #include <iostream>
45 
46 #include <cstdlib>
47 #include <string>
48 #include <memory>
49 #include <vector>
50 
51 #include "TString.h"
52 
53 class TH1F;
54 class TFile;
55 
56 namespace edm {
57  class ParameterSet; class Event; class EventSetup;}
58 
60 {
61 
62  public:
63 
64  typedef std::vector<float> FloatVector;
65  typedef std::vector<int> IntegerVector;
66  typedef std::vector<long int> LongIntegerVector;
67  typedef std::vector<unsigned int> UnsigIntegerVector;
68 
70  ~MuonSimHitsValidAnalyzer() override;
71  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
72  void analyze(const edm::Event&, const edm::EventSetup&) override;
73 
74  private:
75  void fillDT(const edm::Event&, const edm::EventSetup&);
76 
77  private:
78 
81  int verbosity;
85 
88 
89  unsigned int iden;
90  Int_t wheel, station, sector, superlayer, layer, wire;
91  Int_t region, ring, subsector, roll;
92  Int_t path, pathchamber;
93  Int_t touch1, touch4, nummu_DT, nummu_RPC, nummu_CSC;
94  Int_t touche1, touche4;
95  Float_t pow6;
96  Float_t mom1, mom4, mome1, mome4;
97  Float_t costeta, radius,sinteta;
98  Float_t globposx, globposy, globposz;
99  Float_t globposphi, globposeta;
100 
103 
104  // Monitor elements
105  // DT
139 
141  unsigned int count;
142 
143 };
144 
146 
147 static const int dMuon = 2;
148 
149 static const int sdMuonDT = 1;
150 static const int sdMuonCSC = 2;
151 static const int sdMuonRPC = 3;
152 
153 #endif
static const int sdMuonRPC
def analyze(function, filename, filter=None)
Definition: Profiling.py:11
std::vector< float > FloatVector
edm::EDGetTokenT< edm::PSimHitContainer > DTHitsToken_
Input tags.
void bookHistograms(fwlite::EventContainer &eventCont)
static const int sdMuonDT
static const int sdMuonCSC
std::string fName
parameter information
static const int dMuon
end class declaration
HLT enums.
std::vector< long int > LongIntegerVector
unsigned int count
private statistics information
Definition: Run.h:43
std::vector< unsigned int > UnsigIntegerVector