CMS 3D CMS Logo

GlobalRecHitsProducer.h
Go to the documentation of this file.
1 #ifndef GlobalRecHitsProducer_h
2 #define GlobalRecHitsProducer_h
3 
13 // framework & common header files
20 
21 //DQM services
24 
25 //#include "DataFormats/Common/interface/Provenance.h"
30 
31 // ecal calorimeter info
40 
41 // hcal calorimeter info
59 
60 // silicon strip info
79 
80 // silicon pixel info
89 
90 // muon DT info
99 //#include "Validation/GlobalRecHits/interface/DTHitQualityUtils.h"
101 
102 // muon CSC info
111 
112 // muon RPC info
118 
119 // event info
126 
127 // general info
131 
132 // helper files
133 //#include <CLHEP/Vector/LorentzVector.h>
134 //#include <CLHEP/Units/SystemOfUnits.h>
135 
136 #include <iostream>
137 #include <cstdlib>
138 #include <string>
139 #include <memory>
140 #include <vector>
141 #include <map>
142 #include <cmath>
143 
144 #include "TString.h"
145 
146 class PGlobalRecHit;
147 
149 public:
150  typedef std::vector<float> FloatVector;
151  typedef std::vector<double> DoubleVector;
152  typedef std::vector<int> IntVector;
153  typedef std::map<uint32_t, float, std::less<uint32_t>> MapType;
154 
155  explicit GlobalRecHitsProducer(const edm::ParameterSet&);
156  ~GlobalRecHitsProducer() override;
157  void beginJob() override;
158  void endJob() override;
159  void produce(edm::Event&, const edm::EventSetup&) override;
160 
161 private:
162  // production related methods
163  void fillECal(edm::Event&, const edm::EventSetup&);
164  void storeECal(PGlobalRecHit&);
165  void fillHCal(edm::Event&, const edm::EventSetup&);
166  void storeHCal(PGlobalRecHit&);
167  void fillTrk(edm::Event&, const edm::EventSetup&);
168  void storeTrk(PGlobalRecHit&);
169  void fillMuon(edm::Event&, const edm::EventSetup&);
170  void storeMuon(PGlobalRecHit&);
171 
172  void clear();
173 
174 private:
175  // parameter information
182 
183  // Electromagnetic info
184  // ECal info
185 
188 
191 
194 
208 
209  // HCal info
210 
214 
218 
222 
226 
229 
230  // Tracker info
231  // SiStrip
232 
237 
242 
247 
252 
255 
256  std::vector<PSimHit> matched;
257  std::pair<LocalPoint, LocalVector> projectHit(const PSimHit& hit,
258  const StripGeomDetUnit* stripDet,
259  const BoundPlane& plane);
261 
262  // SiPxl
263 
268 
273 
276 
277  // Muon info
278  // DT
279 
282 
287 
288  // Return a map between DTRecHit1DPair and wireId
289  std::map<DTWireId, std::vector<DTRecHit1DPair>> map1DRecHitsPerWire(const DTRecHitCollection* dt1DRecHitPairs);
290 
291  // Compute SimHit distance from wire (cm)
292  float simHitDistFromWire(const DTLayer* layer, DTWireId wireId, const PSimHit& hit);
293 
294  // Find the RecHit closest to the muon SimHit
295  template <typename type>
296  const type* findBestRecHit(const DTLayer* layer,
297  DTWireId wireId,
298  const std::vector<type>& recHits,
299  const float simHitDist);
300 
301  // Compute the distance from wire (cm) of a hits in a DTRecHit1DPair
302  float recHitDistFromWire(const DTRecHit1DPair& hitPair, const DTLayer* layer);
303  // Compute the distance from wire (cm) of a hits in a DTRecHit1D
304  float recHitDistFromWire(const DTRecHit1D& recHit, const DTLayer* layer);
305 
306  // Does the real job
307  template <typename type>
308  int compute(const DTGeometry* dtGeom,
309  const std::map<DTWireId, std::vector<PSimHit>>& simHitsPerWire,
310  const std::map<DTWireId, std::vector<type>>& recHitsPerWire,
311  int step);
312 
313  // CSC
314 
318 
322 
323  std::map<int, edm::PSimHitContainer> theMap;
324  void plotResolution(const PSimHit& simHit, const CSCRecHit2D& recHit, const CSCLayer* layer, int chamberType);
325 
326  // RPC
327 
330 
335 
336  // private statistics information
337  unsigned int count;
338 
339 }; // end class declaration
340 
341 #endif
342 
343 #ifndef GlobalHitMap
344 #define GlobalHitMap
345 
346 // geometry mapping
347 static const int dTrk = 1;
348 static const int sdPxlBrl = 1;
349 static const int sdPxlFwd = 2;
350 static const int sdSiTIB = 3;
351 static const int sdSiTID = 4;
352 static const int sdSiTOB = 5;
353 static const int sdSiTEC = 6;
354 
355 static const int dMuon = 2;
356 static const int sdMuonDT = 1;
357 static const int sdMuonCSC = 2;
358 static const int sdMuonRPC = 3;
359 static const int sdMuonRPCRgnBrl = 0;
360 static const int sdMuonRPCRgnFwdp = 1;
361 static const int sdMuonRPCRgnFwdn = -1;
362 
363 static const int dEcal = 3;
364 static const int sdEcalBrl = 1;
365 static const int sdEcalFwd = 2;
366 static const int sdEcalPS = 3;
367 static const int sdEcalTT = 4;
368 static const int sdEcalLPnD = 5;
369 
370 static const int dHcal = 4;
371 static const int sdHcalEmpty = 0;
372 static const int sdHcalBrl = 1;
373 static const int sdHcalEC = 2;
374 static const int sdHcalOut = 3;
375 static const int sdHcalFwd = 4;
376 static const int sdHcalTT = 5;
377 static const int sdHcalCalib = 6;
378 static const int sdHcalCompst = 7;
379 
380 #endif //PGlobalRecHitsProducer_h
DTGeometry
Definition: DTGeometry.h:28
GlobalRecHitsProducer::FWD2nRX
FloatVector FWD2nRX
Definition: GlobalRecHitsProducer.h:269
CSCRecHit2DCollection.h
GlobalRecHitsProducer::BRL3RY
FloatVector BRL3RY
Definition: GlobalRecHitsProducer.h:265
GlobalRecHitsProducer::TECW7SY
FloatVector TECW7SY
Definition: GlobalRecHitsProducer.h:251
GlobalRecHitsProducer::FWD2pRX
FloatVector FWD2pRX
Definition: GlobalRecHitsProducer.h:269
GlobalRecHitsProducer::BRL3SX
FloatVector BRL3SX
Definition: GlobalRecHitsProducer.h:266
GlobalRecHitsProducer::HECalR
FloatVector HECalR
Definition: GlobalRecHitsProducer.h:216
GlobalRecHitsProducer::BRL2RY
FloatVector BRL2RY
Definition: GlobalRecHitsProducer.h:265
HFDataFrame.h
Handle.h
GlobalRecHitsProducer::FWD1pSX
FloatVector FWD1pSX
Definition: GlobalRecHitsProducer.h:271
GlobalRecHitsProducer::HFCalREC
FloatVector HFCalREC
Definition: GlobalRecHitsProducer.h:223
HcalCalibrations.h
GlobalRecHitsProducer::TECW6SY
FloatVector TECW6SY
Definition: GlobalRecHitsProducer.h:251
GlobalRecHitsProducer::SiPxlSrc_
edm::InputTag SiPxlSrc_
Definition: GlobalRecHitsProducer.h:274
GlobalRecHitsProducer::TIBL3RX
FloatVector TIBL3RX
Definition: GlobalRecHitsProducer.h:233
PixelSubdetector.h
GlobalRecHitsProducer::IntVector
std::vector< int > IntVector
Definition: GlobalRecHitsProducer.h:152
GlobalRecHitsProducer::CSCRHPHI
FloatVector CSCRHPHI
Definition: GlobalRecHitsProducer.h:315
GlobalRecHitsProducer::TOBL3RY
FloatVector TOBL3RY
Definition: GlobalRecHitsProducer.h:239
GlobalRecHitsProducer::getAllProvenances
bool getAllProvenances
Definition: GlobalRecHitsProducer.h:180
GlobalRecHitsProducer::FWD1nRX
FloatVector FWD1nRX
Definition: GlobalRecHitsProducer.h:269
StripGeomDetUnit.h
MessageLogger.h
GlobalRecHitsProducer::BRL2SX
FloatVector BRL2SX
Definition: GlobalRecHitsProducer.h:266
GlobalRecHitsProducer::TIDW2RX
FloatVector TIDW2RX
Definition: GlobalRecHitsProducer.h:243
GlobalRecHitsProducer::TIBL1SY
FloatVector TIBL1SY
Definition: GlobalRecHitsProducer.h:236
GlobalRecHitsProducer::TIBL1SX
FloatVector TIBL1SX
Definition: GlobalRecHitsProducer.h:235
GlobalRecHitsProducer::FWD1pRX
FloatVector FWD1pRX
Definition: GlobalRecHitsProducer.h:269
TrackerGeometry.h
GlobalRecHitsProducer::ECalUncalEESrc_
edm::InputTag ECalUncalEESrc_
Definition: GlobalRecHitsProducer.h:198
StripGeomDetType.h
PixelTopology.h
GlobalRecHitsProducer::TECW3SY
FloatVector TECW3SY
Definition: GlobalRecHitsProducer.h:251
EDProducer.h
GlobalRecHitsProducer::HCalSrc_Token_
edm::EDGetTokenT< edm::PCaloHitContainer > HCalSrc_Token_
Definition: GlobalRecHitsProducer.h:228
GlobalRecHitsProducer::DoubleVector
std::vector< double > DoubleVector
Definition: GlobalRecHitsProducer.h:151
ESHandle.h
DTRecHitCollection.h
GlobalRecHitsProducer::TIBL2RY
FloatVector TIBL2RY
Definition: GlobalRecHitsProducer.h:234
sdSiTID
static const int sdSiTID
Definition: GlobalRecHitsProducer.h:351
step
step
Definition: StallMonitor.cc:94
GlobalRecHitsProducer::ECalUncalEESrc_Token_
edm::EDGetTokenT< EEUncalibratedRecHitCollection > ECalUncalEESrc_Token_
Definition: GlobalRecHitsProducer.h:204
GlobalRecHitsProducer::fillMuon
void fillMuon(edm::Event &, const edm::EventSetup &)
Definition: GlobalRecHitsProducer.cc:1573
GlobalRecHitsProducer::FWD2nSX
FloatVector FWD2nSX
Definition: GlobalRecHitsProducer.h:271
SiStripMatchedRecHit2DCollection.h
DTLayerId.h
GlobalRecHitsProducer::theMap
std::map< int, edm::PSimHitContainer > theMap
Definition: GlobalRecHitsProducer.h:323
GlobalRecHitsProducer::TIDW2SY
FloatVector TIDW2SY
Definition: GlobalRecHitsProducer.h:246
GlobalRecHitsProducer::FWD1nSX
FloatVector FWD1nSX
Definition: GlobalRecHitsProducer.h:271
sdMuonRPCRgnBrl
static const int sdMuonRPCRgnBrl
Definition: GlobalRecHitsProducer.h:359
edm::EDGetTokenT
Definition: EDGetToken.h:33
CSCStripDigi.h
CSCWireDigi.h
GlobalRecHitsProducer::FWD2nRY
FloatVector FWD2nRY
Definition: GlobalRecHitsProducer.h:270
GlobalRecHitsProducer::TECW6SX
FloatVector TECW6SX
Definition: GlobalRecHitsProducer.h:250
GlobalRecHitsProducer::BRL1RY
FloatVector BRL1RY
Definition: GlobalRecHitsProducer.h:265
GlobalRecHitsProducer::EESHE
FloatVector EESHE
Definition: GlobalRecHitsProducer.h:190
GlobalRecHitsProducer::TOBL1RX
FloatVector TOBL1RX
Definition: GlobalRecHitsProducer.h:238
GlobalRecHitsProducer::TOBL2SY
FloatVector TOBL2SY
Definition: GlobalRecHitsProducer.h:241
GlobalRecHitsProducer::HCalSrc_
edm::InputTag HCalSrc_
Definition: GlobalRecHitsProducer.h:227
CrossingFrame.h
GlobalRecHitsProducer::TOBL3RX
FloatVector TOBL3RX
Definition: GlobalRecHitsProducer.h:238
GlobalRecHitsProducer::TECW3RY
FloatVector TECW3RY
Definition: GlobalRecHitsProducer.h:249
EBDetId.h
GlobalRecHitsProducer::SiPxlSrc_Token_
edm::EDGetTokenT< SiPixelRecHitCollection > SiPxlSrc_Token_
Definition: GlobalRecHitsProducer.h:275
DTRecHit1D
Definition: DTRecHit1D.h:25
GlobalRecHitsProducer::fillTrk
void fillTrk(edm::Event &, const edm::EventSetup &)
Definition: GlobalRecHitsProducer.cc:802
EEDetId.h
SiPixelCluster.h
GlobalRecHitsProducer::HOCalR
FloatVector HOCalR
Definition: GlobalRecHitsProducer.h:220
GeomDetType.h
GlobalRecHitsProducer::TIBL2RX
FloatVector TIBL2RX
Definition: GlobalRecHitsProducer.h:233
sdHcalCalib
static const int sdHcalCalib
Definition: GlobalRecHitsProducer.h:377
HODataFrame.h
GlobalRecHitsProducer::TECW2SY
FloatVector TECW2SY
Definition: GlobalRecHitsProducer.h:251
GlobalRecHitsProducer::fillECal
void fillECal(edm::Event &, const edm::EventSetup &)
Definition: GlobalRecHitsProducer.cc:225
GlobalRecHitsProducer::ECalEESrc_Token_
edm::EDGetTokenT< EERecHitCollection > ECalEESrc_Token_
Definition: GlobalRecHitsProducer.h:201
GluedGeomDet.h
GlobalRecHitsProducer::TECW5RY
FloatVector TECW5RY
Definition: GlobalRecHitsProducer.h:249
DQMStore.h
GlobalRecHitsProducer::TECW7RY
FloatVector TECW7RY
Definition: GlobalRecHitsProducer.h:249
CSCLayer
Definition: CSCLayer.h:24
RPCRoll.h
GlobalRecHitsProducer::TECW3SX
FloatVector TECW3SX
Definition: GlobalRecHitsProducer.h:250
TrackerHitAssociator.h
GlobalRecHitsProducer::MuRPCSrc_
edm::InputTag MuRPCSrc_
Definition: GlobalRecHitsProducer.h:331
GlobalRecHitsProducer::TIDW1SX
FloatVector TIDW1SX
Definition: GlobalRecHitsProducer.h:245
GlobalRecHitsProducer::HOCalSHE
FloatVector HOCalSHE
Definition: GlobalRecHitsProducer.h:221
PixelDigi.h
ESDetId.h
StripTopology.h
GlobalRecHitsProducer::endJob
void endJob() override
Definition: GlobalRecHitsProducer.cc:125
TrackerHitAssociator::Config
Definition: TrackerHitAssociator.h:57
GlobalRecHitsProducer::beginJob
void beginJob() override
Definition: GlobalRecHitsProducer.cc:117
GlobalRecHitsProducer::fName
std::string fName
Definition: GlobalRecHitsProducer.h:176
GlobalRecHitsProducer::TIBL4SX
FloatVector TIBL4SX
Definition: GlobalRecHitsProducer.h:235
GlobalRecHitsProducer::FWD1pSY
FloatVector FWD1pSY
Definition: GlobalRecHitsProducer.h:272
GlobalRecHitsProducer::TOBL4RY
FloatVector TOBL4RY
Definition: GlobalRecHitsProducer.h:239
GlobalRecHitsProducer::TIBL4RX
FloatVector TIBL4RX
Definition: GlobalRecHitsProducer.h:233
GlobalRecHitsProducer::RPCRHX
FloatVector RPCRHX
Definition: GlobalRecHitsProducer.h:328
GlobalRecHitsProducer::TIBL2SY
FloatVector TIBL2SY
Definition: GlobalRecHitsProducer.h:236
GlobalRecHitsProducer::FWD1nRY
FloatVector FWD1nRY
Definition: GlobalRecHitsProducer.h:270
rpcPointValidation_cfi.recHit
recHit
Definition: rpcPointValidation_cfi.py:7
EcalRecHitCollections.h
HcalCoderDb.h
GlobalRecHitsProducer::TOBL2SX
FloatVector TOBL2SX
Definition: GlobalRecHitsProducer.h:240
GlobalRecHitsProducer::TIBL3SX
FloatVector TIBL3SX
Definition: GlobalRecHitsProducer.h:235
GlobalRecHitsProducer::TECW1SX
FloatVector TECW1SX
Definition: GlobalRecHitsProducer.h:250
GlobalRecHitsProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: GlobalRecHitsProducer.cc:132
GlobalRecHitsProducer
Definition: GlobalRecHitsProducer.h:148
GlobalRecHitsProducer::projectHit
std::pair< LocalPoint, LocalVector > projectHit(const PSimHit &hit, const StripGeomDetUnit *stripDet, const BoundPlane &plane)
Definition: GlobalRecHitsProducer.cc:1982
ESDataFrame.h
sdMuonRPCRgnFwdp
static const int sdMuonRPCRgnFwdp
Definition: GlobalRecHitsProducer.h:360
GlobalRecHitsProducer::MuCSCSrc_
edm::InputTag MuCSCSrc_
Definition: GlobalRecHitsProducer.h:319
MakerMacros.h
GlobalRecHitsProducer::TECW5RX
FloatVector TECW5RX
Definition: GlobalRecHitsProducer.h:248
PSimHit.h
sdHcalCompst
static const int sdHcalCompst
Definition: GlobalRecHitsProducer.h:378
dEcal
static const int dEcal
Definition: GlobalRecHitsProducer.h:363
GlobalRecHitsProducer::ECalEBSrc_
edm::InputTag ECalEBSrc_
Definition: GlobalRecHitsProducer.h:195
GlobalRecHitsProducer::matched
std::vector< PSimHit > matched
Definition: GlobalRecHitsProducer.h:256
sdMuonDT
static const int sdMuonDT
Definition: GlobalRecHitsProducer.h:356
GlobalRecHitsProducer::TIBL1RY
FloatVector TIBL1RY
Definition: GlobalRecHitsProducer.h:234
GlobalRecHitsProducer::TECW2RY
FloatVector TECW2RY
Definition: GlobalRecHitsProducer.h:249
GlobalRecHitsProducer::TOBL2RX
FloatVector TOBL2RX
Definition: GlobalRecHitsProducer.h:238
DTRecHitCollection
MixCollection.h
DTWireId
Definition: DTWireId.h:12
Service.h
HcalDigiCollections.h
rpcPointValidation_cfi.simHit
simHit
Definition: rpcPointValidation_cfi.py:24
GlobalRecHitsProducer::storeTrk
void storeTrk(PGlobalRecHit &)
Definition: GlobalRecHitsProducer.cc:1191
GlobalRecHitsProducer::TIBL4RY
FloatVector TIBL4RY
Definition: GlobalRecHitsProducer.h:234
GlobalRecHitsProducer::MuRPCSrc_Token_
edm::EDGetTokenT< RPCRecHitCollection > MuRPCSrc_Token_
Definition: GlobalRecHitsProducer.h:333
GlobalRecHitsProducer::~GlobalRecHitsProducer
~GlobalRecHitsProducer() override
Definition: GlobalRecHitsProducer.cc:115
GlobalRecHitsProducer::HECalSHE
FloatVector HECalSHE
Definition: GlobalRecHitsProducer.h:217
SiStripDigi.h
Provenance.h
EcalDigiCollections.h
GlobalRecHitsProducer::TOBL1SY
FloatVector TOBL1SY
Definition: GlobalRecHitsProducer.h:241
GlobalRecHitsProducer::BRL2RX
FloatVector BRL2RX
Definition: GlobalRecHitsProducer.h:264
GlobalRecHitsProducer::BRL1RX
FloatVector BRL1RX
Definition: GlobalRecHitsProducer.h:264
GlobalRecHitsProducer::MuDTSrc_Token_
edm::EDGetTokenT< DTRecHitCollection > MuDTSrc_Token_
Definition: GlobalRecHitsProducer.h:285
GlobalRecHitsProducer::TIDW3RY
FloatVector TIDW3RY
Definition: GlobalRecHitsProducer.h:244
DTRecHit1DPair
Definition: DTRecHit1DPair.h:26
GlobalRecHitsProducer::FWD2pSY
FloatVector FWD2pSY
Definition: GlobalRecHitsProducer.h:272
sdHcalOut
static const int sdHcalOut
Definition: GlobalRecHitsProducer.h:374
GlobalRecHitsProducer::TECW7RX
FloatVector TECW7RX
Definition: GlobalRecHitsProducer.h:248
GlobalRecHitsProducer::TECW4SX
FloatVector TECW4SX
Definition: GlobalRecHitsProducer.h:250
GlobalRecHitsProducer::MapType
std::map< uint32_t, float, std::less< uint32_t > > MapType
Definition: GlobalRecHitsProducer.h:153
HcalDbRecord.h
sdSiTIB
static const int sdSiTIB
Definition: GlobalRecHitsProducer.h:350
GlobalRecHitsProducer::TOBL4SY
FloatVector TOBL4SY
Definition: GlobalRecHitsProducer.h:241
GlobalRecHitsProducer::TIDW3SX
FloatVector TIDW3SX
Definition: GlobalRecHitsProducer.h:245
SiPixelRecHit.h
GlobalRecHitsProducer::TECW3RX
FloatVector TECW3RX
Definition: GlobalRecHitsProducer.h:248
GlobalRecHitsProducer::TIBL1RX
FloatVector TIBL1RX
Definition: GlobalRecHitsProducer.h:233
GlobalRecHitsProducer::TECW8RX
FloatVector TECW8RX
Definition: GlobalRecHitsProducer.h:248
PixelGeomDetType.h
GlobalRecHitsProducer::ECalUncalEBSrc_Token_
edm::EDGetTokenT< EBUncalibratedRecHitCollection > ECalUncalEBSrc_Token_
Definition: GlobalRecHitsProducer.h:203
GlobalRecHitsProducer::TOBL1RY
FloatVector TOBL1RY
Definition: GlobalRecHitsProducer.h:239
GlobalRecHitsProducer::compute
int compute(const DTGeometry *dtGeom, const std::map< DTWireId, std::vector< PSimHit >> &simHitsPerWire, const std::map< DTWireId, std::vector< type >> &recHitsPerWire, int step)
Definition: GlobalRecHitsProducer.cc:2065
DTLayer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTGeometry.h
sdHcalEmpty
static const int sdHcalEmpty
Definition: GlobalRecHitsProducer.h:371
FastTrackerRecHitMaskProducer_cfi.recHits
recHits
Definition: FastTrackerRecHitMaskProducer_cfi.py:8
RPCDetId.h
GlobalRecHitsProducer::ESSHE
FloatVector ESSHE
Definition: GlobalRecHitsProducer.h:193
RPCRecHitCollection.h
GlobalRecHitsProducer::BRL2SY
FloatVector BRL2SY
Definition: GlobalRecHitsProducer.h:267
TrackerDigiGeometryRecord.h
SiPixelRecHitCollection.h
GlobalRecHitsProducer::DTSHD
FloatVector DTSHD
Definition: GlobalRecHitsProducer.h:281
CaloSubdetectorGeometry.h
GlobalRecHitsProducer::FWD2pRY
FloatVector FWD2pRY
Definition: GlobalRecHitsProducer.h:270
GlobalRecHitsProducer::EBSHE
FloatVector EBSHE
Definition: GlobalRecHitsProducer.h:187
GlobalRecHitsProducer::TIDW3SY
FloatVector TIDW3SY
Definition: GlobalRecHitsProducer.h:246
GlobalRecHitsProducer::TOBL4SX
FloatVector TOBL4SX
Definition: GlobalRecHitsProducer.h:240
sdHcalEC
static const int sdHcalEC
Definition: GlobalRecHitsProducer.h:373
edm::ParameterSet
Definition: ParameterSet.h:47
CSCRecHit2D
Definition: CSCRecHit2D.h:18
GlobalRecHitsProducer::DTRHD
FloatVector DTRHD
Definition: GlobalRecHitsProducer.h:280
GlobalRecHitsProducer::FWD1nSY
FloatVector FWD1nSY
Definition: GlobalRecHitsProducer.h:272
GlobalRecHitsProducer::TIBL3RY
FloatVector TIBL3RY
Definition: GlobalRecHitsProducer.h:234
SiStripCluster.h
GlobalRecHitsProducer::TIDW1RY
FloatVector TIDW1RY
Definition: GlobalRecHitsProducer.h:244
GlobalRecHitsProducer::TIDW2SX
FloatVector TIDW2SX
Definition: GlobalRecHitsProducer.h:245
Event.h
GlobalRecHitsProducer::MuCSCHits_Token_
edm::EDGetTokenT< CrossingFrame< PSimHit > > MuCSCHits_Token_
Definition: GlobalRecHitsProducer.h:321
GlobalRecHitsProducer::TECW8RY
FloatVector TECW8RY
Definition: GlobalRecHitsProducer.h:249
GlobalRecHitsProducer::verbosity
int verbosity
Definition: GlobalRecHitsProducer.h:177
GlobalRecHitsProducer::MuDTSimSrc_Token_
edm::EDGetTokenT< edm::PSimHitContainer > MuDTSimSrc_Token_
Definition: GlobalRecHitsProducer.h:286
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
GlobalRecHitsProducer::TIDW1RX
FloatVector TIDW1RX
Definition: GlobalRecHitsProducer.h:243
HcalQIESample.h
GlobalRecHitsProducer::BRL3SY
FloatVector BRL3SY
Definition: GlobalRecHitsProducer.h:267
HcalDetId.h
GlobalRecHitsProducer::TOBL1SX
FloatVector TOBL1SX
Definition: GlobalRecHitsProducer.h:240
PCaloHit.h
GlobalRecHitsProducer::label
std::string label
Definition: GlobalRecHitsProducer.h:179
GlobalRecHitsProducer::CSCSHPHI
FloatVector CSCSHPHI
Definition: GlobalRecHitsProducer.h:317
GlobalRecHitsProducer::FWD2pSX
FloatVector FWD2pSX
Definition: GlobalRecHitsProducer.h:271
GlobalRecHitsProducer::TIBL2SX
FloatVector TIBL2SX
Definition: GlobalRecHitsProducer.h:235
sdEcalPS
static const int sdEcalPS
Definition: GlobalRecHitsProducer.h:366
GlobalRecHitsProducer::trackerHitAssociatorConfig_
TrackerHitAssociator::Config trackerHitAssociatorConfig_
Definition: GlobalRecHitsProducer.h:260
GlobalRecHitsProducer::fillHCal
void fillHCal(edm::Event &, const edm::EventSetup &)
Definition: GlobalRecHitsProducer.cc:457
GlobalRecHitsProducer::TECW6RY
FloatVector TECW6RY
Definition: GlobalRecHitsProducer.h:249
GlobalRecHitsProducer::ECalESSrc_
edm::InputTag ECalESSrc_
Definition: GlobalRecHitsProducer.h:199
sdSiTOB
static const int sdSiTOB
Definition: GlobalRecHitsProducer.h:352
SiStripRecHit2DCollection.h
GlobalRecHitsProducer::TECW8SX
FloatVector TECW8SX
Definition: GlobalRecHitsProducer.h:250
GlobalRecHitsProducer::HFCalR
FloatVector HFCalR
Definition: GlobalRecHitsProducer.h:224
GlobalRecHitsProducer::ECalEESrc_
edm::InputTag ECalEESrc_
Definition: GlobalRecHitsProducer.h:197
GlobalRecHitsProducer::GlobalRecHitsProducer
GlobalRecHitsProducer(const edm::ParameterSet &)
Definition: GlobalRecHitsProducer.cc:14
CSCStripDigiCollection.h
GlobalRecHitsProducer::MuDTSrc_
edm::InputTag MuDTSrc_
Definition: GlobalRecHitsProducer.h:283
GlobalRecHitsProducer::MuCSCSrc_Token_
edm::EDGetTokenT< CSCRecHit2DCollection > MuCSCSrc_Token_
Definition: GlobalRecHitsProducer.h:320
GlobalRecHitsProducer::ESRE
FloatVector ESRE
Definition: GlobalRecHitsProducer.h:192
EBDataFrame.h
edm::EventSetup
Definition: EventSetup.h:57
GlobalRecHitsProducer::TECW8SY
FloatVector TECW8SY
Definition: GlobalRecHitsProducer.h:251
HcalSubdetector.h
DetSetVector.h
GeometricDet.h
GlobalRecHitsProducer::ECalUncalEBSrc_
edm::InputTag ECalUncalEBSrc_
Definition: GlobalRecHitsProducer.h:196
GlobalRecHitsProducer::EBHits_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > EBHits_Token_
Definition: GlobalRecHitsProducer.h:205
HcalElectronicsId.h
GlobalRecHitsProducer::ECalEBSrc_Token_
edm::EDGetTokenT< EBRecHitCollection > ECalEBSrc_Token_
Definition: GlobalRecHitsProducer.h:200
DTLayer
Definition: DTLayer.h:25
sdHcalFwd
static const int sdHcalFwd
Definition: GlobalRecHitsProducer.h:375
GlobalRecHitsProducer::ESHits_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > ESHits_Token_
Definition: GlobalRecHitsProducer.h:207
GlobalRecHitsProducer::TECW2SX
FloatVector TECW2SX
Definition: GlobalRecHitsProducer.h:250
GlobalRecHitsProducer::TOBL2RY
FloatVector TOBL2RY
Definition: GlobalRecHitsProducer.h:239
sdEcalFwd
static const int sdEcalFwd
Definition: GlobalRecHitsProducer.h:365
EEDataFrame.h
GlobalRecHitsProducer::TECW1RX
FloatVector TECW1RX
Definition: GlobalRecHitsProducer.h:248
GlobalRecHitsProducer::TECW1SY
FloatVector TECW1SY
Definition: GlobalRecHitsProducer.h:251
GlobalRecHitsProducer::HECalREC
FloatVector HECalREC
Definition: GlobalRecHitsProducer.h:215
dTrk
static const int dTrk
Definition: GlobalRecHitsProducer.h:347
GlobalRecHitsProducer::FWD2nSY
FloatVector FWD2nSY
Definition: GlobalRecHitsProducer.h:272
GlobalRecHitsProducer::HBCalSHE
FloatVector HBCalSHE
Definition: GlobalRecHitsProducer.h:213
GlobalRecHitsProducer::CSCRHPERP
FloatVector CSCRHPERP
Definition: GlobalRecHitsProducer.h:316
sdMuonRPC
static const int sdMuonRPC
Definition: GlobalRecHitsProducer.h:358
GlobalRecHitsProducer::EEHits_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > EEHits_Token_
Definition: GlobalRecHitsProducer.h:206
PGlobalRecHit
Definition: PValidationFormats.h:597
GlobalRecHitsProducer::TECW4RY
FloatVector TECW4RY
Definition: GlobalRecHitsProducer.h:249
GeomDet.h
CaloCellGeometry.h
GlobalRecHitsProducer::TOBL4RX
FloatVector TOBL4RX
Definition: GlobalRecHitsProducer.h:238
GlobalRecHitsProducer::TECW5SY
FloatVector TECW5SY
Definition: GlobalRecHitsProducer.h:251
sdMuonRPCRgnFwdn
static const int sdMuonRPCRgnFwdn
Definition: GlobalRecHitsProducer.h:361
GlobalRecHitsProducer::HOCalREC
FloatVector HOCalREC
Definition: GlobalRecHitsProducer.h:219
dMuon
static const int dMuon
Definition: GlobalRecHitsProducer.h:355
GlobalRecHitsProducer::TIDW1SY
FloatVector TIDW1SY
Definition: GlobalRecHitsProducer.h:246
DTWireId.h
sdSiTEC
static const int sdSiTEC
Definition: GlobalRecHitsProducer.h:353
GlobalRecHitsProducer::storeECal
void storeECal(PGlobalRecHit &)
Definition: GlobalRecHitsProducer.cc:416
CSCLayer.h
GlobalRecHitsProducer::TECW1RY
FloatVector TECW1RY
Definition: GlobalRecHitsProducer.h:249
GlobalRecHitsProducer::TIBL3SY
FloatVector TIBL3SY
Definition: GlobalRecHitsProducer.h:236
DetId.h
Frameworkfwd.h
DTHitQualityUtils.h
LocalPoint.h
GlobalRecHitsProducer::RPCSHX
FloatVector RPCSHX
Definition: GlobalRecHitsProducer.h:329
GlobalRecHitsProducer::TOBL3SX
FloatVector TOBL3SX
Definition: GlobalRecHitsProducer.h:240
sdPxlBrl
static const int sdPxlBrl
Definition: GlobalRecHitsProducer.h:348
GlobalRecHitsProducer::count
unsigned int count
Definition: GlobalRecHitsProducer.h:337
GlobalRecHitsProducer::plotResolution
void plotResolution(const PSimHit &simHit, const CSCRecHit2D &recHit, const CSCLayer *layer, int chamberType)
Definition: GlobalRecHitsProducer.cc:2119
CaloGeometry.h
GlobalRecHitsProducer::TECW4RX
FloatVector TECW4RX
Definition: GlobalRecHitsProducer.h:248
BoundPlane
GlobalRecHitsProducer::clear
void clear()
Definition: GlobalRecHitsProducer.cc:1825
PixelGeomDetUnit.h
GlobalRecHitsProducer::FWD1pRY
FloatVector FWD1pRY
Definition: GlobalRecHitsProducer.h:270
sdEcalTT
static const int sdEcalTT
Definition: GlobalRecHitsProducer.h:367
GlobalRecHitsProducer::EERE
FloatVector EERE
Definition: GlobalRecHitsProducer.h:189
HcalSourcePositionData.h
GlobalRecHitsProducer::BRL3RX
FloatVector BRL3RX
Definition: GlobalRecHitsProducer.h:264
sdHcalBrl
static const int sdHcalBrl
Definition: GlobalRecHitsProducer.h:372
sdEcalLPnD
static const int sdEcalLPnD
Definition: GlobalRecHitsProducer.h:368
EventSetup.h
RPCDigiCollection.h
GlobalRecHitsProducer::findBestRecHit
const type * findBestRecHit(const DTLayer *layer, DTWireId wireId, const std::vector< type > &recHits, const float simHitDist)
Definition: GlobalRecHitsProducer.cc:2035
GlobalRecHitsProducer::TIDW3RX
FloatVector TIDW3RX
Definition: GlobalRecHitsProducer.h:243
edm::EDProducer
Definition: EDProducer.h:35
GlobalRecHitsProducer::simHitDistFromWire
float simHitDistFromWire(const DTLayer *layer, DTWireId wireId, const PSimHit &hit)
Definition: GlobalRecHitsProducer.cc:2022
HcalRecHitCollections.h
GlobalRecHitsProducer::TECW6RX
FloatVector TECW6RX
Definition: GlobalRecHitsProducer.h:248
PCaloHitContainer.h
GlobalRecHitsProducer::TOBL3SY
FloatVector TOBL3SY
Definition: GlobalRecHitsProducer.h:241
HcalDbService.h
CSCWireDigiCollection.h
GlobalRecHitsProducer::BRL1SY
FloatVector BRL1SY
Definition: GlobalRecHitsProducer.h:267
GlobalRecHitsProducer::MuRPCSimSrc_Token_
edm::EDGetTokenT< edm::PSimHitContainer > MuRPCSimSrc_Token_
Definition: GlobalRecHitsProducer.h:334
CSCRecHit2D.h
sdPxlFwd
static const int sdPxlFwd
Definition: GlobalRecHitsProducer.h:349
GlobalRecHitsProducer::SiStripSrc_
edm::InputTag SiStripSrc_
Definition: GlobalRecHitsProducer.h:253
DTDigi.h
DTDigiCollection.h
genParticles_cff.map
map
Definition: genParticles_cff.py:11
GlobalRecHitsProducer::HFCalSHE
FloatVector HFCalSHE
Definition: GlobalRecHitsProducer.h:225
ParameterSet.h
sdHcalTT
static const int sdHcalTT
Definition: GlobalRecHitsProducer.h:376
GlobalRecHitsProducer::TECW5SX
FloatVector TECW5SX
Definition: GlobalRecHitsProducer.h:250
GlobalRecHitsProducer::storeMuon
void storeMuon(PGlobalRecHit &)
Definition: GlobalRecHitsProducer.cc:1774
PSimHit
Definition: PSimHit.h:15
OwnVector.h
MuonGeometryRecord.h
GlobalRecHitsProducer::BRL1SX
FloatVector BRL1SX
Definition: GlobalRecHitsProducer.h:266
GlobalRecHitsProducer::frequency
int frequency
Definition: GlobalRecHitsProducer.h:178
SiStripClusterCollection.h
GlobalRecHitsProducer::TIBL4SY
FloatVector TIBL4SY
Definition: GlobalRecHitsProducer.h:236
edm::Event
Definition: Event.h:73
GlobalPoint.h
StripSubdetector.h
GlobalRecHitsProducer::printProvenanceInfo
bool printProvenanceInfo
Definition: GlobalRecHitsProducer.h:181
RPCGeometry.h
GlobalRecHitsProducer::TIDW2RY
FloatVector TIDW2RY
Definition: GlobalRecHitsProducer.h:244
GlobalRecHitsProducer::ECalESSrc_Token_
edm::EDGetTokenT< ESRecHitCollection > ECalESSrc_Token_
Definition: GlobalRecHitsProducer.h:202
GlobalRecHitsProducer::EBRE
FloatVector EBRE
Definition: GlobalRecHitsProducer.h:186
GlobalRecHitsProducer::recHitDistFromWire
float recHitDistFromWire(const DTRecHit1DPair &hitPair, const DTLayer *layer)
Definition: GlobalRecHitsProducer.cc:2054
GlobalRecHitsProducer::MuDTSimSrc_
edm::InputTag MuDTSimSrc_
Definition: GlobalRecHitsProducer.h:284
GlobalRecHitsProducer::MuRPCSimSrc_
edm::InputTag MuRPCSimSrc_
Definition: GlobalRecHitsProducer.h:332
edm::InputTag
Definition: InputTag.h:15
GlobalRecHitsProducer::TECW2RX
FloatVector TECW2RX
Definition: GlobalRecHitsProducer.h:248
dHcal
static const int dHcal
Definition: GlobalRecHitsProducer.h:370
GlobalRecHitsProducer::FloatVector
std::vector< float > FloatVector
Definition: GlobalRecHitsProducer.h:150
PValidationFormats.h
hit
Definition: SiStripHitEffFromCalibTree.cc:88
GlobalRecHitsProducer::TECW4SY
FloatVector TECW4SY
Definition: GlobalRecHitsProducer.h:251
HBHEDataFrame.h
GlobalRecHitsProducer::TECW7SX
FloatVector TECW7SX
Definition: GlobalRecHitsProducer.h:250
CSCGeometry.h
GlobalRecHitsProducer::storeHCal
void storeHCal(PGlobalRecHit &)
Definition: GlobalRecHitsProducer.cc:742
sdMuonCSC
static const int sdMuonCSC
Definition: GlobalRecHitsProducer.h:357
StripGeomDetUnit
Definition: StripGeomDetUnit.h:15
sdEcalBrl
static const int sdEcalBrl
Definition: GlobalRecHitsProducer.h:364
GlobalRecHitsProducer::map1DRecHitsPerWire
std::map< DTWireId, std::vector< DTRecHit1DPair > > map1DRecHitsPerWire(const DTRecHitCollection *dt1DRecHitPairs)
Definition: GlobalRecHitsProducer.cc:2009
GlobalRecHitsProducer::SiStripSrc_Token_
edm::EDGetTokenT< SiStripMatchedRecHit2DCollection > SiStripSrc_Token_
Definition: GlobalRecHitsProducer.h:254
GlobalRecHitsProducer::HBCalR
FloatVector HBCalR
Definition: GlobalRecHitsProducer.h:212
GlobalRecHitsProducer::HBCalREC
FloatVector HBCalREC
Definition: GlobalRecHitsProducer.h:211