Go to the documentation of this file. 1 #ifndef GlobalRecHitsProducer_h
2 #define GlobalRecHitsProducer_h
153 typedef std::map<uint32_t, float, std::less<uint32_t>>
MapType;
295 template <
typename type>
298 const std::vector<type>&
recHits,
299 const float simHitDist);
307 template <
typename type>
323 std::map<int, edm::PSimHitContainer>
theMap;
380 #endif //PGlobalRecHitsProducer_h
std::vector< int > IntVector
edm::InputTag ECalUncalEESrc_
edm::EDGetTokenT< edm::PCaloHitContainer > HCalSrc_Token_
std::vector< double > DoubleVector
edm::EDGetTokenT< EEUncalibratedRecHitCollection > ECalUncalEESrc_Token_
void fillMuon(edm::Event &, const edm::EventSetup &)
std::map< int, edm::PSimHitContainer > theMap
static const int sdMuonRPCRgnBrl
edm::EDGetTokenT< SiPixelRecHitCollection > SiPxlSrc_Token_
void fillTrk(edm::Event &, const edm::EventSetup &)
static const int sdHcalCalib
void fillECal(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< EERecHitCollection > ECalEESrc_Token_
void produce(edm::Event &, const edm::EventSetup &) override
std::pair< LocalPoint, LocalVector > projectHit(const PSimHit &hit, const StripGeomDetUnit *stripDet, const BoundPlane &plane)
static const int sdMuonRPCRgnFwdp
static const int sdHcalCompst
std::vector< PSimHit > matched
static const int sdMuonDT
void storeTrk(PGlobalRecHit &)
edm::EDGetTokenT< RPCRecHitCollection > MuRPCSrc_Token_
~GlobalRecHitsProducer() override
edm::EDGetTokenT< DTRecHitCollection > MuDTSrc_Token_
static const int sdHcalOut
std::map< uint32_t, float, std::less< uint32_t > > MapType
edm::EDGetTokenT< EBUncalibratedRecHitCollection > ECalUncalEBSrc_Token_
int compute(const DTGeometry *dtGeom, const std::map< DTWireId, std::vector< PSimHit >> &simHitsPerWire, const std::map< DTWireId, std::vector< type >> &recHitsPerWire, int step)
static const int sdHcalEmpty
static const int sdHcalEC
edm::EDGetTokenT< CrossingFrame< PSimHit > > MuCSCHits_Token_
edm::EDGetTokenT< edm::PSimHitContainer > MuDTSimSrc_Token_
static const int sdEcalPS
TrackerHitAssociator::Config trackerHitAssociatorConfig_
void fillHCal(edm::Event &, const edm::EventSetup &)
GlobalRecHitsProducer(const edm::ParameterSet &)
edm::EDGetTokenT< CSCRecHit2DCollection > MuCSCSrc_Token_
edm::InputTag ECalUncalEBSrc_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > EBHits_Token_
edm::EDGetTokenT< EBRecHitCollection > ECalEBSrc_Token_
static const int sdHcalFwd
edm::EDGetTokenT< CrossingFrame< PCaloHit > > ESHits_Token_
static const int sdEcalFwd
static const int sdMuonRPC
edm::EDGetTokenT< CrossingFrame< PCaloHit > > EEHits_Token_
static const int sdMuonRPCRgnFwdn
void storeECal(PGlobalRecHit &)
static const int sdPxlBrl
void plotResolution(const PSimHit &simHit, const CSCRecHit2D &recHit, const CSCLayer *layer, int chamberType)
static const int sdEcalTT
static const int sdHcalBrl
static const int sdEcalLPnD
const type * findBestRecHit(const DTLayer *layer, DTWireId wireId, const std::vector< type > &recHits, const float simHitDist)
float simHitDistFromWire(const DTLayer *layer, DTWireId wireId, const PSimHit &hit)
edm::EDGetTokenT< edm::PSimHitContainer > MuRPCSimSrc_Token_
static const int sdPxlFwd
edm::InputTag SiStripSrc_
static const int sdHcalTT
void storeMuon(PGlobalRecHit &)
edm::EDGetTokenT< ESRecHitCollection > ECalESSrc_Token_
float recHitDistFromWire(const DTRecHit1DPair &hitPair, const DTLayer *layer)
edm::InputTag MuDTSimSrc_
edm::InputTag MuRPCSimSrc_
std::vector< float > FloatVector
void storeHCal(PGlobalRecHit &)
static const int sdMuonCSC
static const int sdEcalBrl
std::map< DTWireId, std::vector< DTRecHit1DPair > > map1DRecHitsPerWire(const DTRecHitCollection *dt1DRecHitPairs)
edm::EDGetTokenT< SiStripMatchedRecHit2DCollection > SiStripSrc_Token_