CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
MuonSimHitsValidAnalyzer Class Reference

#include <MuonSimHitsValidAnalyzer.h>

Inheritance diagram for MuonSimHitsValidAnalyzer:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Types

typedef std::vector< float > FloatVector
 
typedef std::vector< int > IntegerVector
 
typedef std::vector< long int > LongIntegerVector
 
typedef std::vector< unsigned int > UnsigIntegerVector
 
- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 MuonSimHitsValidAnalyzer (const edm::ParameterSet &)
 
 ~MuonSimHitsValidAnalyzer () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Private Member Functions

void fillDT (const edm::Event &, const edm::EventSetup &)
 

Private Attributes

Float_t costeta
 
unsigned int count
 private statistics information More...
 
edm::EDGetTokenT< edm::PSimHitContainerDTHitsToken_
 Input tags. More...
 
std::string fName
 parameter information More...
 
bool getAllProvenances
 
Float_t globposeta
 
Float_t globposphi
 
Float_t globposx
 
Float_t globposy
 
Float_t globposz
 
unsigned int iden
 
std::string label
 
Int_t layer
 
MonitorElementmeAllDTHits
 
MonitorElementmeChamberOccup
 
MonitorElementmeCosTheta
 
MonitorElementmeEnergyLoss
 
MonitorElementmeGlobalEta
 
MonitorElementmeGlobalPhi
 
MonitorElementmeGlobalXvsY
 
MonitorElementmeGlobalXvsYW0
 
MonitorElementmeGlobalXvsYWm1
 
MonitorElementmeGlobalXvsYWm2
 
MonitorElementmeGlobalXvsYWp1
 
MonitorElementmeGlobalXvsYWp2
 
MonitorElementmeGlobalXvsZ
 
MonitorElementmeGlobalXvsZW0
 
MonitorElementmeGlobalXvsZWm1
 
MonitorElementmeGlobalXvsZWm2
 
MonitorElementmeGlobalXvsZWp1
 
MonitorElementmeGlobalXvsZWp2
 
MonitorElementmeHitRadius
 
MonitorElementmeLayerOccup
 
MonitorElementmeLocalXvsY
 
MonitorElementmeLocalXvsZ
 
MonitorElementmeLossMomIron
 
MonitorElementmeMomentumMB1
 
MonitorElementmeMomentumMB4
 
MonitorElementmeMuDTHits
 
MonitorElementmePathMuon
 
MonitorElementmeSectorOccup
 
MonitorElementmeStationOccup
 
MonitorElementmeSuperLOccup
 
MonitorElementmeToF
 
MonitorElementmeWheelOccup
 
MonitorElementmeWireOccup
 
Float_t mom1
 
Float_t mom4
 
Float_t mome1
 
Float_t mome4
 
int nRawGenPart
 G4MC info. More...
 
Int_t nummu_CSC
 
Int_t nummu_DT
 
Int_t nummu_RPC
 
Int_t path
 
Int_t pathchamber
 
Float_t pow6
 
bool printProvenanceInfo
 
Float_t radius
 
Int_t region
 
Int_t ring
 
Int_t roll
 
Int_t sector
 
Float_t sinteta
 
Int_t station
 
Int_t subsector
 
Int_t superlayer
 
Int_t touch1
 
Int_t touch4
 
Int_t touche1
 
Int_t touche4
 
int verbosity
 
Int_t wheel
 
Int_t wire
 

Additional Inherited Members

- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 50 of file MuonSimHitsValidAnalyzer.h.

Member Typedef Documentation

◆ FloatVector

typedef std::vector<float> MuonSimHitsValidAnalyzer::FloatVector

Definition at line 52 of file MuonSimHitsValidAnalyzer.h.

◆ IntegerVector

typedef std::vector<int> MuonSimHitsValidAnalyzer::IntegerVector

Definition at line 53 of file MuonSimHitsValidAnalyzer.h.

◆ LongIntegerVector

typedef std::vector<long int> MuonSimHitsValidAnalyzer::LongIntegerVector

Definition at line 54 of file MuonSimHitsValidAnalyzer.h.

◆ UnsigIntegerVector

typedef std::vector<unsigned int> MuonSimHitsValidAnalyzer::UnsigIntegerVector

Definition at line 55 of file MuonSimHitsValidAnalyzer.h.

Constructor & Destructor Documentation

◆ MuonSimHitsValidAnalyzer()

MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer ( const edm::ParameterSet iPSet)
explicit

get information from parameter set

get labels for input tags

print out Parameter Set information being used

Definition at line 14 of file MuonSimHitsValidAnalyzer.cc.

15  : fName(""),
16  verbosity(0),
17  label(""),
18  getAllProvenances(false),
19  printProvenanceInfo(false),
20  nRawGenPart(0),
21  count(0)
22 
23 {
25  fName = iPSet.getUntrackedParameter<std::string>("Name");
26  verbosity = iPSet.getUntrackedParameter<int>("Verbosity");
27  label = iPSet.getParameter<std::string>("Label");
28  edm::ParameterSet m_Prov = iPSet.getParameter<edm::ParameterSet>("ProvenanceLookup");
29  getAllProvenances = m_Prov.getUntrackedParameter<bool>("GetAllProvenances");
30  printProvenanceInfo = m_Prov.getUntrackedParameter<bool>("PrintProvenanceInfo");
31 
32  nRawGenPart = 0;
33 
35  DTHitsToken_ = consumes<edm::PSimHitContainer>(iPSet.getParameter<edm::InputTag>("DTHitsSrc"));
36 
38 
39  if (verbosity) {
40  Labels l;
41  labelsForToken(DTHitsToken_, l);
42  edm::LogInfo("MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer")
43  << "\n===============================\n"
44  << "Initialized as EDAnalyzer with parameter values:\n"
45  << " Name = " << fName << "\n"
46  << " Verbosity = " << verbosity << "\n"
47  << " Label = " << label << "\n"
48  << " GetProv = " << getAllProvenances << "\n"
49  << " PrintProv = " << printProvenanceInfo
50  << "\n"
51  // << " CSCHitsSrc= " <<CSCHitsSrc_.label()
52  // << ":" << CSCHitsSrc_.instance() << "\n"
53  << " DTHitsSrc = " << l.module << ":" << l.productInstance
54  << "\n"
55  // << " RPCHitsSrc= " <<RPCHitsSrc_.label()
56  // << ":" << RPCHitsSrc_.instance() << "\n"
57  << "===============================\n";
58  }
59 
60  pow6 = 1000000.0;
61  mom4 = 0.;
62  mom1 = 0;
63  costeta = 0.;
64  radius = 0;
65  sinteta = 0.;
66  globposx = 0.;
67  globposy = 0;
68  nummu_DT = 0;
69  nummu_CSC = 0;
70  nummu_RPC = 0;
71 }

References costeta, DTHitsToken_, fName, getAllProvenances, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), globposx, globposy, cmsLHEtoEOSManager::l, label, mom1, mom4, nRawGenPart, nummu_CSC, nummu_DT, nummu_RPC, pow6, printProvenanceInfo, radius, sinteta, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.

◆ ~MuonSimHitsValidAnalyzer()

MuonSimHitsValidAnalyzer::~MuonSimHitsValidAnalyzer ( )
override

Definition at line 73 of file MuonSimHitsValidAnalyzer.cc.

73 {}

Member Function Documentation

◆ analyze()

void MuonSimHitsValidAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

keep track of number of events processed

get event id information

look at information available in the event

Reimplemented from DQMEDAnalyzer.

Definition at line 254 of file MuonSimHitsValidAnalyzer.cc.

254  {
256  ++count;
257 
259  edm::RunNumber_t nrun = iEvent.id().run();
260  edm::EventNumber_t nevt = iEvent.id().event();
261 
262  if (verbosity > 0) {
263  edm::LogInfo("MuonSimHitsValidAnalyzer::analyze") << "Processing run " << nrun << ", event " << nevt;
264  }
265 
267  if (getAllProvenances) {
268  std::vector<const edm::StableProvenance*> AllProv;
269  iEvent.getAllStableProvenance(AllProv);
270 
271  if (verbosity > 0)
272  edm::LogInfo("MuonSimHitsValidAnalyzer::analyze") << "Number of Provenances = " << AllProv.size();
273 
274  if (printProvenanceInfo && (verbosity > 0)) {
275  TString eventout("\nProvenance info:\n");
276 
277  for (unsigned int i = 0; i < AllProv.size(); ++i) {
278  eventout += "\n ******************************";
279  eventout += "\n Module : ";
280  eventout += AllProv[i]->moduleLabel();
281  eventout += "\n ProductID : ";
282  eventout += AllProv[i]->productID().id();
283  eventout += "\n ClassName : ";
284  eventout += AllProv[i]->className();
285  eventout += "\n InstanceName : ";
286  eventout += AllProv[i]->productInstanceName();
287  eventout += "\n BranchName : ";
288  eventout += AllProv[i]->branchName();
289  }
290  eventout += " ******************************\n";
291  edm::LogInfo("MuonSimHitsValidAnalyzer::analyze") << eventout << "\n";
292  }
293  }
294 
295  fillDT(iEvent, iSetup);
296 
297  if (verbosity > 0)
298  edm::LogInfo("MuonSimHitsValidAnalyzer::analyze") << "Done gathering data from event.";
299 
300  return;
301 }

References count, fillDT(), getAllProvenances, mps_fire::i, iEvent, nevt, printProvenanceInfo, and verbosity.

◆ bookHistograms()

void MuonSimHitsValidAnalyzer::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  iRun,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 75 of file MuonSimHitsValidAnalyzer.cc.

77  {
78  meAllDTHits = nullptr;
79  meMuDTHits = nullptr;
80  meToF = nullptr;
81  meEnergyLoss = nullptr;
82  meMomentumMB1 = nullptr;
83  meMomentumMB4 = nullptr;
84  meLossMomIron = nullptr;
85  meLocalXvsZ = nullptr;
86  meLocalXvsY = nullptr;
87  meGlobalXvsZ = nullptr;
88  meGlobalXvsY = nullptr;
89  meGlobalXvsZWm2 = nullptr;
90  meGlobalXvsZWm1 = nullptr;
91  meGlobalXvsZW0 = nullptr;
92  meGlobalXvsZWp1 = nullptr;
93  meGlobalXvsZWp2 = nullptr;
94  meGlobalXvsYWm2 = nullptr;
95  meGlobalXvsYWm1 = nullptr;
96  meGlobalXvsYW0 = nullptr;
97  meGlobalXvsYWp1 = nullptr;
98  meGlobalXvsYWp2 = nullptr;
99  meWheelOccup = nullptr;
100  meStationOccup = nullptr;
101  meSectorOccup = nullptr;
102  meSuperLOccup = nullptr;
103  meLayerOccup = nullptr;
104  meWireOccup = nullptr;
105  mePathMuon = nullptr;
106  meChamberOccup = nullptr;
107  meHitRadius = nullptr;
108  meCosTheta = nullptr;
109  meGlobalEta = nullptr;
110  meGlobalPhi = nullptr;
111 
112  Char_t histo_n[100];
113  Char_t histo_t[100];
114 
115  iBooker.setCurrentFolder("MuonDTHitsV/DTHitsValidationTask");
116 
117  sprintf(histo_n, "Number_of_all_DT_hits");
118  sprintf(histo_t, "Number_of_all_DT_hits");
119  meAllDTHits = iBooker.book1D(histo_n, histo_t, 200, 1.0, 201.0);
120 
121  sprintf(histo_n, "Number_of_muon_DT_hits");
122  sprintf(histo_t, "Number_of_muon_DT_hits");
123  meMuDTHits = iBooker.book1D(histo_n, histo_t, 150, 1.0, 151.0);
124 
125  sprintf(histo_n, "Tof_of_hits ");
126  sprintf(histo_t, "Tof_of_hits ");
127  meToF = iBooker.book1D(histo_n, histo_t, 100, -0.5, 50.);
128 
129  sprintf(histo_n, "DT_energy_loss_keV");
130  sprintf(histo_t, "DT_energy_loss_keV");
131  meEnergyLoss = iBooker.book1D(histo_n, histo_t, 100, 0.0, 10.0);
132 
133  sprintf(histo_n, "Momentum_at_MB1");
134  sprintf(histo_t, "Momentum_at_MB1");
135  meMomentumMB1 = iBooker.book1D(histo_n, histo_t, 100, 10.0, 200.0);
136 
137  sprintf(histo_n, "Momentum_at_MB4");
138  sprintf(histo_t, "Momentum_at_MB4");
139  meMomentumMB4 = iBooker.book1D(histo_n, histo_t, 100, 10.0, 200.0);
140 
141  sprintf(histo_n, "Loss_of_muon_Momentum_in_Iron");
142  sprintf(histo_t, "Loss_of_muon_Momentum_in_Iron");
143  meLossMomIron = iBooker.book1D(histo_n, histo_t, 80, 0.0, 40.0);
144 
145  sprintf(histo_n, "Local_x-coord_vs_local_z-coord_of_muon_hit");
146  sprintf(histo_t, "Local_x-coord_vs_local_z-coord_of_muon_hit");
147  meLocalXvsZ = iBooker.book2D(histo_n, histo_t, 100, -150., 150., 100, -0.8, 0.8);
148 
149  sprintf(histo_n, "local_x-coord_vs_local_y-coord_of_muon_hit");
150  sprintf(histo_t, "local_x-coord_vs_local_y-coord_of_muon_hit");
151  meLocalXvsY = iBooker.book2D(histo_n, histo_t, 100, -150., 150., 100, -150., 150.);
152 
153  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit");
154  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit");
155  meGlobalXvsZ = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
156 
157  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit");
158  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit");
159  meGlobalXvsY = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
160 
161  // New histos
162 
163  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit_w-2");
164  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit_w-2");
165  meGlobalXvsZWm2 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
166 
167  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit_w-2");
168  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit_w-2");
169  meGlobalXvsYWm2 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
170 
171  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit_w-1");
172  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit_w-1");
173  meGlobalXvsZWm1 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
174 
175  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit_w-1");
176  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit_w-1");
177  meGlobalXvsYWm1 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
178 
179  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit_w0");
180  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit_w0");
181  meGlobalXvsZW0 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
182 
183  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit_w0");
184  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit_w0");
185  meGlobalXvsYW0 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
186 
187  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit_w1");
188  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit_w1");
189  meGlobalXvsZWp1 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
190 
191  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit_w1");
192  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit_w1");
193  meGlobalXvsYWp1 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
194 
195  sprintf(histo_n, "Global_x-coord_vs_global_z-coord_of_muon_hit_w2");
196  sprintf(histo_t, "Global_x-coord_vs_global_z-coord_of_muon_hit_w2");
197  meGlobalXvsZWp2 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
198 
199  sprintf(histo_n, "Global_x-coord_vs_global_y-coord_of_muon_hit_w2");
200  sprintf(histo_t, "Global_x-coord_vs_global_y-coord_of_muon_hit_w2");
201  meGlobalXvsYWp2 = iBooker.book2D(histo_n, histo_t, 100, -800., 800., 100, -800., 800.);
202 
203  //
204 
205  sprintf(histo_n, "Wheel_occupancy");
206  sprintf(histo_t, "Wheel_occupancy");
207  meWheelOccup = iBooker.book1D(histo_n, histo_t, 10, -5.0, 5.0);
208 
209  sprintf(histo_n, "Station_occupancy");
210  sprintf(histo_t, "Station_occupancy");
211  meStationOccup = iBooker.book1D(histo_n, histo_t, 6, 0., 6.0);
212 
213  sprintf(histo_n, "Sector_occupancy");
214  sprintf(histo_t, "Sector_occupancy");
215  meSectorOccup = iBooker.book1D(histo_n, histo_t, 20, 0., 20.);
216 
217  sprintf(histo_n, "SuperLayer_occupancy");
218  sprintf(histo_t, "SuperLayer_occupancy");
219  meSuperLOccup = iBooker.book1D(histo_n, histo_t, 5, 0., 5.);
220 
221  sprintf(histo_n, "Layer_occupancy");
222  sprintf(histo_t, "Layer_occupancy");
223  meLayerOccup = iBooker.book1D(histo_n, histo_t, 6, 0., 6.);
224 
225  sprintf(histo_n, "Wire_occupancy");
226  sprintf(histo_t, "Wire_occupancy");
227  meWireOccup = iBooker.book1D(histo_n, histo_t, 100, 0., 100.);
228 
229  sprintf(histo_n, "path_followed_by_muon");
230  sprintf(histo_t, "path_followed_by_muon");
231  mePathMuon = iBooker.book1D(histo_n, histo_t, 160, 0., 160.);
232 
233  sprintf(histo_n, "chamber_occupancy");
234  sprintf(histo_t, "chamber_occupancy");
235  meChamberOccup = iBooker.book1D(histo_n, histo_t, 251, 0., 251.);
236 
237  sprintf(histo_n, "radius_of_hit");
238  sprintf(histo_t, "radius_of_hit");
239  meHitRadius = iBooker.book1D(histo_n, histo_t, 100, 0., 1200.);
240 
241  sprintf(histo_n, "costheta_of_hit");
242  sprintf(histo_t, "costheta_of_hit");
243  meCosTheta = iBooker.book1D(histo_n, histo_t, 100, -1., 1.);
244 
245  sprintf(histo_n, "global_eta_of_hit");
246  sprintf(histo_t, "global_eta_of_hit");
247  meGlobalEta = iBooker.book1D(histo_n, histo_t, 60, -2.7, 2.7);
248 
249  sprintf(histo_n, "global_phi_of_hit");
250  sprintf(histo_t, "global_phi_of_hit");
251  meGlobalPhi = iBooker.book1D(histo_n, histo_t, 60, -3.14, 3.14);
252 }

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), meAllDTHits, meChamberOccup, meCosTheta, meEnergyLoss, meGlobalEta, meGlobalPhi, meGlobalXvsY, meGlobalXvsYW0, meGlobalXvsYWm1, meGlobalXvsYWm2, meGlobalXvsYWp1, meGlobalXvsYWp2, meGlobalXvsZ, meGlobalXvsZW0, meGlobalXvsZWm1, meGlobalXvsZWm2, meGlobalXvsZWp1, meGlobalXvsZWp2, meHitRadius, meLayerOccup, meLocalXvsY, meLocalXvsZ, meLossMomIron, meMomentumMB1, meMomentumMB4, meMuDTHits, mePathMuon, meSectorOccup, meStationOccup, meSuperLOccup, meToF, meWheelOccup, meWireOccup, and dqm::implementation::NavigatorBase::setCurrentFolder().

◆ fillDT()

void MuonSimHitsValidAnalyzer::fillDT ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
private

iterator to access containers

access the DT access the DT geometry

get DT information

cycle through container

create a DetId from the detUnitId

check that expected detector is returned

get the GeomDetUnit from the geometry using theDetUnitID

get the Surface of the hit (knows how to go from local <-> global)

gather necessary information

Muon Momentum at MB1

Muon Momentum at MB4 & Loss of Muon Momentum in Iron (between MB1 and MB4)

X-Local Coordinate vs Z-Local Coordinate

X-Local Coordinate vs Y-Local Coordinate

Global Coordinates

Z-Global Coordinate vs X-Global Coordinate Y-Global Coordinate vs X-Global Coordinate

Definition at line 303 of file MuonSimHitsValidAnalyzer.cc.

303  {
304  TString eventout;
305  if (verbosity > 0)
306  eventout = "\nGathering DT info:";
307 
309  edm::PSimHitContainer::const_iterator itHit;
310 
313  edm::ESHandle<DTGeometry> theDTGeometry;
314  iSetup.get<MuonGeometryRecord>().get(theDTGeometry);
315  if (!theDTGeometry.isValid()) {
316  edm::LogWarning("MuonSimHitsValidAnalyzer::fillDT")
317  << "Unable to find MuonGeometryRecord for the DTGeometry in event!";
318  return;
319  }
320  const DTGeometry& theDTMuon(*theDTGeometry);
321 
323  edm::Handle<edm::PSimHitContainer> MuonDTContainer;
324  iEvent.getByToken(DTHitsToken_, MuonDTContainer);
325  if (!MuonDTContainer.isValid()) {
326  edm::LogWarning("MuonSimHitsValidAnalyzer::fillDT") << "Unable to find MuonDTHits in event!";
327  return;
328  }
329 
330  touch1 = 0;
331  touch4 = 0;
332  nummu_DT = 0;
333 
334  meAllDTHits->Fill(MuonDTContainer->size());
335 
337  int i = 0, j = 0;
338  for (itHit = MuonDTContainer->begin(); itHit != MuonDTContainer->end(); ++itHit) {
339  ++i;
340 
342  DetId theDetUnitId(itHit->detUnitId());
343  int detector = theDetUnitId.det();
344  int subdetector = theDetUnitId.subdetId();
345 
347  if ((detector == dMuon) && (subdetector == sdMuonDT)) {
349  const GeomDetUnit* theDet = theDTMuon.idToDetUnit(theDetUnitId);
350 
351  if (!theDet) {
352  edm::LogWarning("MuonSimHitsValidAnalyzer::fillDT") << "Unable to get GeomDetUnit from theDTMuon for hit " << i;
353  continue;
354  }
355 
356  ++j;
357 
359  const BoundPlane& bsurf = theDet->surface();
360 
362 
363  if (abs(itHit->particleType()) == 13) {
364  nummu_DT++;
365  meToF->Fill(itHit->tof());
366  meEnergyLoss->Fill(itHit->energyLoss() * pow6);
367 
368  iden = itHit->detUnitId();
369 
370  wheel = ((iden >> 15) & 0x7) - 3;
371  station = ((iden >> 22) & 0x7);
372  sector = ((iden >> 18) & 0xf);
373  superlayer = ((iden >> 13) & 0x3);
374  layer = ((iden >> 10) & 0x7);
375  wire = ((iden >> 3) & 0x7f);
376 
377  meWheelOccup->Fill((float)wheel);
378  meStationOccup->Fill((float)station);
379  meSectorOccup->Fill((float)sector);
380  meSuperLOccup->Fill((float)superlayer);
381  meLayerOccup->Fill((float)layer);
382  meWireOccup->Fill((float)wire);
383 
384  // Define a quantity to take into account station, splayer and layer being hit.
385  path = (station - 1) * 40 + superlayer * 10 + layer;
386  mePathMuon->Fill((float)path);
387 
388  // Define a quantity to take into chamber being hit.
389  pathchamber = (wheel + 2) * 50 + (station - 1) * 12 + sector;
391 
393  if (station == 1) {
394  if (touch1 == 0) {
395  mom1 = itHit->pabs();
397  touch1 = 1;
398  }
399  }
400 
402  if (station == 4) {
403  if (touch4 == 0) {
404  mom4 = itHit->pabs();
405  touch4 = 1;
407  if (touch1 == 1) {
409  }
410  }
411  }
412 
414  meLocalXvsZ->Fill(itHit->localPosition().x(), itHit->localPosition().z());
415 
417  meLocalXvsY->Fill(itHit->localPosition().x(), itHit->localPosition().y());
418 
420 
421  globposz = bsurf.toGlobal(itHit->localPosition()).z();
422  globposeta = bsurf.toGlobal(itHit->localPosition()).eta();
423  globposphi = bsurf.toGlobal(itHit->localPosition()).phi();
424 
425  radius = globposz * (1. + exp(-2. * globposeta)) / (1. - exp(-2. * globposeta));
426 
427  costeta = (1. - exp(-2. * globposeta)) / (1. + exp(-2. * globposeta));
428  sinteta = 2. * exp(-globposeta) / (1. + exp(-2. * globposeta));
429 
434 
437 
438  // New Histos
439  if (wheel == -2) {
442  }
443  if (wheel == -1) {
446  }
447  if (wheel == 0) {
450  }
451  if (wheel == 1) {
454  }
455  if (wheel == 2) {
458  }
459  //
464  }
465  } else {
466  edm::LogWarning("MuonSimHitsValidAnalyzer::fillDT")
467  << "MuonDT PSimHit " << i << " is expected to be (det,subdet) = (" << dMuon << "," << sdMuonDT
468  << "); value returned is: (" << detector << "," << subdetector << ")";
469  continue;
470  }
471  }
472 
473  if (verbosity > 1) {
474  eventout += "\n Number of DT muon Hits collected:......... ";
475  eventout += j;
476  }
477  meMuDTHits->Fill((float)nummu_DT);
478 
479  if (verbosity > 0)
480  edm::LogInfo("MuonSimHitsValidAnalyzer::fillDT") << eventout << "\n";
481  return;
482 }

References funct::abs(), funct::cos(), costeta, hgcalTestNeighbor_cfi::detector, dMuon, DTHitsToken_, PVValHelper::eta, JetChargeProducer_cfi::exp, dqm::impl::MonitorElement::Fill(), edm::EventSetup::get(), get, globposeta, globposphi, globposx, globposy, globposz, mps_fire::i, iden, DTGeometry::idToDetUnit(), iEvent, edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), dqmiolumiharvest::j, layer, meAllDTHits, meChamberOccup, meCosTheta, meEnergyLoss, meGlobalEta, meGlobalPhi, meGlobalXvsY, meGlobalXvsYW0, meGlobalXvsYWm1, meGlobalXvsYWm2, meGlobalXvsYWp1, meGlobalXvsYWp2, meGlobalXvsZ, meGlobalXvsZW0, meGlobalXvsZWm1, meGlobalXvsZWm2, meGlobalXvsZWp1, meGlobalXvsZWp2, meHitRadius, meLayerOccup, meLocalXvsY, meLocalXvsZ, meLossMomIron, meMomentumMB1, meMomentumMB4, meMuDTHits, mePathMuon, meSectorOccup, meStationOccup, meSuperLOccup, meToF, meWheelOccup, meWireOccup, mom1, mom4, nummu_DT, path, pathchamber, phi, pow6, radius, sdMuonDT, sector, funct::sin(), sinteta, station, subdetector, superlayer, GeomDet::surface(), touch1, touch4, verbosity, wheel, wire, and z.

Referenced by analyze().

Member Data Documentation

◆ costeta

Float_t MuonSimHitsValidAnalyzer::costeta
private

Definition at line 84 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ count

unsigned int MuonSimHitsValidAnalyzer::count
private

private statistics information

Definition at line 128 of file MuonSimHitsValidAnalyzer.h.

Referenced by analyze().

◆ DTHitsToken_

edm::EDGetTokenT<edm::PSimHitContainer> MuonSimHitsValidAnalyzer::DTHitsToken_
private

Input tags.

Definition at line 89 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ fName

std::string MuonSimHitsValidAnalyzer::fName
private

parameter information

Definition at line 67 of file MuonSimHitsValidAnalyzer.h.

Referenced by MuonSimHitsValidAnalyzer().

◆ getAllProvenances

bool MuonSimHitsValidAnalyzer::getAllProvenances
private

Definition at line 70 of file MuonSimHitsValidAnalyzer.h.

Referenced by analyze(), and MuonSimHitsValidAnalyzer().

◆ globposeta

Float_t MuonSimHitsValidAnalyzer::globposeta
private

Definition at line 86 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ globposphi

Float_t MuonSimHitsValidAnalyzer::globposphi
private

Definition at line 86 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ globposx

Float_t MuonSimHitsValidAnalyzer::globposx
private

Definition at line 85 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ globposy

Float_t MuonSimHitsValidAnalyzer::globposy
private

Definition at line 85 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ globposz

Float_t MuonSimHitsValidAnalyzer::globposz
private

Definition at line 85 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ iden

unsigned int MuonSimHitsValidAnalyzer::iden
private

Definition at line 76 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ label

std::string MuonSimHitsValidAnalyzer::label
private

Definition at line 69 of file MuonSimHitsValidAnalyzer.h.

Referenced by MuonSimHitsValidAnalyzer().

◆ layer

Int_t MuonSimHitsValidAnalyzer::layer
private

◆ meAllDTHits

MonitorElement* MuonSimHitsValidAnalyzer::meAllDTHits
private

Definition at line 93 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meChamberOccup

MonitorElement* MuonSimHitsValidAnalyzer::meChamberOccup
private

Definition at line 121 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meCosTheta

MonitorElement* MuonSimHitsValidAnalyzer::meCosTheta
private

Definition at line 123 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meEnergyLoss

MonitorElement* MuonSimHitsValidAnalyzer::meEnergyLoss
private

Definition at line 96 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalEta

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalEta
private

Definition at line 124 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalPhi

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalPhi
private

Definition at line 125 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsY

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsY
private

Definition at line 103 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsYW0

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsYW0
private

Definition at line 111 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsYWm1

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsYWm1
private

Definition at line 110 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsYWm2

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsYWm2
private

Definition at line 109 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsYWp1

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsYWp1
private

Definition at line 112 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsYWp2

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsYWp2
private

Definition at line 113 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZ

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZ
private

Definition at line 102 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZW0

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZW0
private

Definition at line 106 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZWm1

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZWm1
private

Definition at line 105 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZWm2

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZWm2
private

Definition at line 104 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZWp1

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZWp1
private

Definition at line 107 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meGlobalXvsZWp2

MonitorElement* MuonSimHitsValidAnalyzer::meGlobalXvsZWp2
private

Definition at line 108 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meHitRadius

MonitorElement* MuonSimHitsValidAnalyzer::meHitRadius
private

Definition at line 122 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meLayerOccup

MonitorElement* MuonSimHitsValidAnalyzer::meLayerOccup
private

Definition at line 118 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meLocalXvsY

MonitorElement* MuonSimHitsValidAnalyzer::meLocalXvsY
private

Definition at line 101 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meLocalXvsZ

MonitorElement* MuonSimHitsValidAnalyzer::meLocalXvsZ
private

Definition at line 100 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meLossMomIron

MonitorElement* MuonSimHitsValidAnalyzer::meLossMomIron
private

Definition at line 99 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meMomentumMB1

MonitorElement* MuonSimHitsValidAnalyzer::meMomentumMB1
private

Definition at line 97 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meMomentumMB4

MonitorElement* MuonSimHitsValidAnalyzer::meMomentumMB4
private

Definition at line 98 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meMuDTHits

MonitorElement* MuonSimHitsValidAnalyzer::meMuDTHits
private

Definition at line 94 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ mePathMuon

MonitorElement* MuonSimHitsValidAnalyzer::mePathMuon
private

Definition at line 120 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meSectorOccup

MonitorElement* MuonSimHitsValidAnalyzer::meSectorOccup
private

Definition at line 116 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meStationOccup

MonitorElement* MuonSimHitsValidAnalyzer::meStationOccup
private

Definition at line 115 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meSuperLOccup

MonitorElement* MuonSimHitsValidAnalyzer::meSuperLOccup
private

Definition at line 117 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meToF

MonitorElement* MuonSimHitsValidAnalyzer::meToF
private

Definition at line 95 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meWheelOccup

MonitorElement* MuonSimHitsValidAnalyzer::meWheelOccup
private

Definition at line 114 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ meWireOccup

MonitorElement* MuonSimHitsValidAnalyzer::meWireOccup
private

Definition at line 119 of file MuonSimHitsValidAnalyzer.h.

Referenced by bookHistograms(), and fillDT().

◆ mom1

Float_t MuonSimHitsValidAnalyzer::mom1
private

Definition at line 83 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ mom4

Float_t MuonSimHitsValidAnalyzer::mom4
private

Definition at line 83 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ mome1

Float_t MuonSimHitsValidAnalyzer::mome1
private

Definition at line 83 of file MuonSimHitsValidAnalyzer.h.

◆ mome4

Float_t MuonSimHitsValidAnalyzer::mome4
private

Definition at line 83 of file MuonSimHitsValidAnalyzer.h.

◆ nRawGenPart

int MuonSimHitsValidAnalyzer::nRawGenPart
private

G4MC info.

Definition at line 74 of file MuonSimHitsValidAnalyzer.h.

Referenced by MuonSimHitsValidAnalyzer().

◆ nummu_CSC

Int_t MuonSimHitsValidAnalyzer::nummu_CSC
private

Definition at line 80 of file MuonSimHitsValidAnalyzer.h.

Referenced by MuonSimHitsValidAnalyzer().

◆ nummu_DT

Int_t MuonSimHitsValidAnalyzer::nummu_DT
private

Definition at line 80 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ nummu_RPC

Int_t MuonSimHitsValidAnalyzer::nummu_RPC
private

Definition at line 80 of file MuonSimHitsValidAnalyzer.h.

Referenced by MuonSimHitsValidAnalyzer().

◆ path

Int_t MuonSimHitsValidAnalyzer::path
private

Definition at line 79 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ pathchamber

Int_t MuonSimHitsValidAnalyzer::pathchamber
private

Definition at line 79 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ pow6

Float_t MuonSimHitsValidAnalyzer::pow6
private

Definition at line 82 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ printProvenanceInfo

bool MuonSimHitsValidAnalyzer::printProvenanceInfo
private

Definition at line 71 of file MuonSimHitsValidAnalyzer.h.

Referenced by analyze(), and MuonSimHitsValidAnalyzer().

◆ radius

Float_t MuonSimHitsValidAnalyzer::radius
private

Definition at line 84 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ region

Int_t MuonSimHitsValidAnalyzer::region
private

Definition at line 78 of file MuonSimHitsValidAnalyzer.h.

◆ ring

Int_t MuonSimHitsValidAnalyzer::ring
private

Definition at line 78 of file MuonSimHitsValidAnalyzer.h.

Referenced by geometryXMLparser.CSCAlignable::index().

◆ roll

Int_t MuonSimHitsValidAnalyzer::roll
private

Definition at line 78 of file MuonSimHitsValidAnalyzer.h.

◆ sector

Int_t MuonSimHitsValidAnalyzer::sector
private

Definition at line 77 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and geometryXMLparser.DTAlignable::index().

◆ sinteta

Float_t MuonSimHitsValidAnalyzer::sinteta
private

Definition at line 84 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and MuonSimHitsValidAnalyzer().

◆ station

Int_t MuonSimHitsValidAnalyzer::station
private

◆ subsector

Int_t MuonSimHitsValidAnalyzer::subsector
private

Definition at line 78 of file MuonSimHitsValidAnalyzer.h.

◆ superlayer

Int_t MuonSimHitsValidAnalyzer::superlayer
private

Definition at line 77 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and geometryXMLparser.DTAlignable::index().

◆ touch1

Int_t MuonSimHitsValidAnalyzer::touch1
private

Definition at line 80 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ touch4

Int_t MuonSimHitsValidAnalyzer::touch4
private

Definition at line 80 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

◆ touche1

Int_t MuonSimHitsValidAnalyzer::touche1
private

Definition at line 81 of file MuonSimHitsValidAnalyzer.h.

◆ touche4

Int_t MuonSimHitsValidAnalyzer::touche4
private

Definition at line 81 of file MuonSimHitsValidAnalyzer.h.

◆ verbosity

int MuonSimHitsValidAnalyzer::verbosity
private

Definition at line 68 of file MuonSimHitsValidAnalyzer.h.

Referenced by analyze(), fillDT(), and MuonSimHitsValidAnalyzer().

◆ wheel

Int_t MuonSimHitsValidAnalyzer::wheel
private

Definition at line 77 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT(), and geometryXMLparser.DTAlignable::index().

◆ wire

Int_t MuonSimHitsValidAnalyzer::wire
private

Definition at line 77 of file MuonSimHitsValidAnalyzer.h.

Referenced by fillDT().

DTGeometry
Definition: DTGeometry.h:28
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
MuonSimHitsValidAnalyzer::meGlobalXvsZWm1
MonitorElement * meGlobalXvsZWm1
Definition: MuonSimHitsValidAnalyzer.h:105
MuonSimHitsValidAnalyzer::globposeta
Float_t globposeta
Definition: MuonSimHitsValidAnalyzer.h:86
mps_fire.i
i
Definition: mps_fire.py:355
MuonSimHitsValidAnalyzer::nummu_DT
Int_t nummu_DT
Definition: MuonSimHitsValidAnalyzer.h:80
MuonSimHitsValidAnalyzer::globposphi
Float_t globposphi
Definition: MuonSimHitsValidAnalyzer.h:86
GeomDet
Definition: GeomDet.h:27
MuonSimHitsValidAnalyzer::meLocalXvsY
MonitorElement * meLocalXvsY
Definition: MuonSimHitsValidAnalyzer.h:101
edm::LogInfo
Definition: MessageLogger.h:254
MuonSimHitsValidAnalyzer::meSectorOccup
MonitorElement * meSectorOccup
Definition: MuonSimHitsValidAnalyzer.h:116
MuonSimHitsValidAnalyzer::meMuDTHits
MonitorElement * meMuDTHits
Definition: MuonSimHitsValidAnalyzer.h:94
MuonSimHitsValidAnalyzer::label
std::string label
Definition: MuonSimHitsValidAnalyzer.h:69
MuonSimHitsValidAnalyzer::meGlobalXvsZWp2
MonitorElement * meGlobalXvsZWp2
Definition: MuonSimHitsValidAnalyzer.h:108
MuonSimHitsValidAnalyzer::meSuperLOccup
MonitorElement * meSuperLOccup
Definition: MuonSimHitsValidAnalyzer.h:117
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
MuonSimHitsValidAnalyzer::meAllDTHits
MonitorElement * meAllDTHits
Definition: MuonSimHitsValidAnalyzer.h:93
MuonSimHitsValidAnalyzer::iden
unsigned int iden
Definition: MuonSimHitsValidAnalyzer.h:76
MuonSimHitsValidAnalyzer::pathchamber
Int_t pathchamber
Definition: MuonSimHitsValidAnalyzer.h:79
MuonSimHitsValidAnalyzer::nummu_RPC
Int_t nummu_RPC
Definition: MuonSimHitsValidAnalyzer.h:80
edm::Handle< edm::PSimHitContainer >
MuonSimHitsValidAnalyzer::meHitRadius
MonitorElement * meHitRadius
Definition: MuonSimHitsValidAnalyzer.h:122
MuonSimHitsValidAnalyzer::layer
Int_t layer
Definition: MuonSimHitsValidAnalyzer.h:77
MuonSimHitsValidAnalyzer::meStationOccup
MonitorElement * meStationOccup
Definition: MuonSimHitsValidAnalyzer.h:115
MuonSimHitsValidAnalyzer::verbosity
int verbosity
Definition: MuonSimHitsValidAnalyzer.h:68
MuonSimHitsValidAnalyzer::DTHitsToken_
edm::EDGetTokenT< edm::PSimHitContainer > DTHitsToken_
Input tags.
Definition: MuonSimHitsValidAnalyzer.h:89
MuonSimHitsValidAnalyzer::station
Int_t station
Definition: MuonSimHitsValidAnalyzer.h:77
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
MuonSimHitsValidAnalyzer::wire
Int_t wire
Definition: MuonSimHitsValidAnalyzer.h:77
DetId
Definition: DetId.h:17
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
MuonSimHitsValidAnalyzer::meWireOccup
MonitorElement * meWireOccup
Definition: MuonSimHitsValidAnalyzer.h:119
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
MuonSimHitsValidAnalyzer::meMomentumMB1
MonitorElement * meMomentumMB1
Definition: MuonSimHitsValidAnalyzer.h:97
PVValHelper::eta
Definition: PVValidationHelpers.h:69
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
DDAxes::z
edm::ESHandle< DTGeometry >
MuonSimHitsValidAnalyzer::meGlobalXvsYW0
MonitorElement * meGlobalXvsYW0
Definition: MuonSimHitsValidAnalyzer.h:111
MuonSimHitsValidAnalyzer::meWheelOccup
MonitorElement * meWheelOccup
Definition: MuonSimHitsValidAnalyzer.h:114
MuonSimHitsValidAnalyzer::radius
Float_t radius
Definition: MuonSimHitsValidAnalyzer.h:84
MuonSimHitsValidAnalyzer::meGlobalXvsYWp1
MonitorElement * meGlobalXvsYWp1
Definition: MuonSimHitsValidAnalyzer.h:112
MuonSimHitsValidAnalyzer::meLossMomIron
MonitorElement * meLossMomIron
Definition: MuonSimHitsValidAnalyzer.h:99
edm::EventNumber_t
unsigned long long EventNumber_t
Definition: RunLumiEventNumber.h:12
MuonSimHitsValidAnalyzer::count
unsigned int count
private statistics information
Definition: MuonSimHitsValidAnalyzer.h:128
MuonSimHitsValidAnalyzer::mom1
Float_t mom1
Definition: MuonSimHitsValidAnalyzer.h:83
MuonSimHitsValidAnalyzer::meGlobalXvsY
MonitorElement * meGlobalXvsY
Definition: MuonSimHitsValidAnalyzer.h:103
MuonSimHitsValidAnalyzer::meToF
MonitorElement * meToF
Definition: MuonSimHitsValidAnalyzer.h:95
MuonSimHitsValidAnalyzer::nRawGenPart
int nRawGenPart
G4MC info.
Definition: MuonSimHitsValidAnalyzer.h:74
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonSimHitsValidAnalyzer::meChamberOccup
MonitorElement * meChamberOccup
Definition: MuonSimHitsValidAnalyzer.h:121
MuonSimHitsValidAnalyzer::wheel
Int_t wheel
Definition: MuonSimHitsValidAnalyzer.h:77
edm::LogWarning
Definition: MessageLogger.h:141
MuonSimHitsValidAnalyzer::meGlobalXvsYWm1
MonitorElement * meGlobalXvsYWm1
Definition: MuonSimHitsValidAnalyzer.h:110
edm::ParameterSet
Definition: ParameterSet.h:36
MuonSimHitsValidAnalyzer::meCosTheta
MonitorElement * meCosTheta
Definition: MuonSimHitsValidAnalyzer.h:123
MuonSimHitsValidAnalyzer::pow6
Float_t pow6
Definition: MuonSimHitsValidAnalyzer.h:82
MuonSimHitsValidAnalyzer::fName
std::string fName
parameter information
Definition: MuonSimHitsValidAnalyzer.h:67
MuonSimHitsValidAnalyzer::meLayerOccup
MonitorElement * meLayerOccup
Definition: MuonSimHitsValidAnalyzer.h:118
MuonSimHitsValidAnalyzer::nummu_CSC
Int_t nummu_CSC
Definition: MuonSimHitsValidAnalyzer.h:80
iEvent
int iEvent
Definition: GenABIO.cc:224
MuonSimHitsValidAnalyzer::meGlobalXvsZWp1
MonitorElement * meGlobalXvsZWp1
Definition: MuonSimHitsValidAnalyzer.h:107
MuonSimHitsValidAnalyzer::meGlobalXvsZW0
MonitorElement * meGlobalXvsZW0
Definition: MuonSimHitsValidAnalyzer.h:106
MuonSimHitsValidAnalyzer::meGlobalXvsZWm2
MonitorElement * meGlobalXvsZWm2
Definition: MuonSimHitsValidAnalyzer.h:104
MuonSimHitsValidAnalyzer::meGlobalEta
MonitorElement * meGlobalEta
Definition: MuonSimHitsValidAnalyzer.h:124
get
#define get
edm::ESHandleBase::isValid
bool isValid() const
Definition: ESHandle.h:44
MuonSimHitsValidAnalyzer::globposy
Float_t globposy
Definition: MuonSimHitsValidAnalyzer.h:85
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:193
MuonSimHitsValidAnalyzer::meEnergyLoss
MonitorElement * meEnergyLoss
Definition: MuonSimHitsValidAnalyzer.h:96
DDAxes::phi
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
nevt
int nevt
Definition: ReggeGribovPartonMCHadronizer.h:66
MuonSimHitsValidAnalyzer::globposx
Float_t globposx
Definition: MuonSimHitsValidAnalyzer.h:85
MuonSimHitsValidAnalyzer::costeta
Float_t costeta
Definition: MuonSimHitsValidAnalyzer.h:84
MuonSimHitsValidAnalyzer::superlayer
Int_t superlayer
Definition: MuonSimHitsValidAnalyzer.h:77
MuonSimHitsValidAnalyzer::sinteta
Float_t sinteta
Definition: MuonSimHitsValidAnalyzer.h:84
MuonSimHitsValidAnalyzer::path
Int_t path
Definition: MuonSimHitsValidAnalyzer.h:79
MuonSimHitsValidAnalyzer::globposz
Float_t globposz
Definition: MuonSimHitsValidAnalyzer.h:85
MuonSimHitsValidAnalyzer::meMomentumMB4
MonitorElement * meMomentumMB4
Definition: MuonSimHitsValidAnalyzer.h:98
BoundPlane
MuonSimHitsValidAnalyzer::meGlobalXvsZ
MonitorElement * meGlobalXvsZ
Definition: MuonSimHitsValidAnalyzer.h:102
MuonSimHitsValidAnalyzer::meGlobalXvsYWm2
MonitorElement * meGlobalXvsYWm2
Definition: MuonSimHitsValidAnalyzer.h:109
MuonSimHitsValidAnalyzer::touch4
Int_t touch4
Definition: MuonSimHitsValidAnalyzer.h:80
MuonSimHitsValidAnalyzer::fillDT
void fillDT(const edm::Event &, const edm::EventSetup &)
Definition: MuonSimHitsValidAnalyzer.cc:303
hgcalTestNeighbor_cfi.detector
detector
Definition: hgcalTestNeighbor_cfi.py:6
MuonSimHitsValidAnalyzer::sector
Int_t sector
Definition: MuonSimHitsValidAnalyzer.h:77
MuonSimHitsValidAnalyzer::mom4
Float_t mom4
Definition: MuonSimHitsValidAnalyzer.h:83
MuonSimHitsValidAnalyzer::mePathMuon
MonitorElement * mePathMuon
Definition: MuonSimHitsValidAnalyzer.h:120
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
MuonSimHitsValidAnalyzer::getAllProvenances
bool getAllProvenances
Definition: MuonSimHitsValidAnalyzer.h:70
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
MuonSimHitsValidAnalyzer::touch1
Int_t touch1
Definition: MuonSimHitsValidAnalyzer.h:80
MuonSimHitsValidAnalyzer::meLocalXvsZ
MonitorElement * meLocalXvsZ
Definition: MuonSimHitsValidAnalyzer.h:100
dMuon
static const int dMuon
Definition: GlobalDigisAnalyzer.h:260
MuonGeometryRecord
Definition: MuonGeometryRecord.h:34
MuonSimHitsValidAnalyzer::meGlobalPhi
MonitorElement * meGlobalPhi
Definition: MuonSimHitsValidAnalyzer.h:125
edm::InputTag
Definition: InputTag.h:15
MuonSimHitsValidAnalyzer::printProvenanceInfo
bool printProvenanceInfo
Definition: MuonSimHitsValidAnalyzer.h:71
sdMuonDT
static const int sdMuonDT
Definition: GlobalDigisAnalyzer.h:261
MuonSimHitsValidAnalyzer::meGlobalXvsYWp2
MonitorElement * meGlobalXvsYWp2
Definition: MuonSimHitsValidAnalyzer.h:113
subdetector
TString subdetector
Definition: trackSplitPlot.h:54