1 #ifndef GlobalRecHitsAnalyzer_h
2 #define GlobalRecHitsAnalyzer_h
154 typedef std::map<uint32_t,float,std::less<uint32_t> >
MapType;
218 std::pair<LocalPoint,LocalVector>
246 std::map<DTWireId, std::vector<DTRecHit1DPair> >
255 template <
typename type>
259 const std::vector<type>& recHits,
260 const float simHitDist);
269 template <
typename type>
280 std::map<int, edm::PSimHitContainer>
theMap;
282 const CSCLayer *layer,
int chamberType);
335 #endif //PGlobalRecHitsProducer_h
GlobalRecHitsAnalyzer(const edm::ParameterSet &)
MonitorElement * mehCSCResRDPhi
static const int sdMuonRPCRgnBrl
std::vector< PSimHit > matched
MonitorElement * mehDtMuonn
MonitorElement * mehHcalRes[4]
void fillMuon(const edm::Event &, const edm::EventSetup &)
static const int sdMuonDT
edm::InputTag ECalUncalEBSrc_
float recHitDistFromWire(const DTRecHit1DPair &hitPair, const DTLayer *layer)
static const int sdEcalLPnD
float simHitDistFromWire(const DTLayer *layer, DTWireId wireId, const PSimHit &hit)
edm::InputTag ECalUncalEESrc_
MonitorElement * mehEcalRes[3]
static const int sdMuonRPC
static const int sdHcalEmpty
MonitorElement * mehSiStripn[19]
edm::InputTag SiStripSrc_
void plotResolution(const PSimHit &simHit, const CSCRecHit2D &recHit, const CSCLayer *layer, int chamberType)
std::map< int, edm::PSimHitContainer > theMap
static const int sdEcalBrl
std::map< DTWireId, std::vector< DTRecHit1DPair > > map1DRecHitsPerWire(const DTRecHitCollection *dt1DRecHitPairs)
static const int sdHcalBrl
static const int sdPxlBrl
int compute(const DTGeometry *dtGeom, std::map< DTWireId, std::vector< PSimHit > > simHitsPerWire, std::map< DTWireId, std::vector< type > > recHitsPerWire, int step)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * mehSiPixelResX[7]
static const int sdPxlFwd
MonitorElement * mehRPCResX
MonitorElement * mehEcaln[3]
const type * findBestRecHit(const DTLayer *layer, DTWireId wireId, const std::vector< type > &recHits, const float simHitDist)
static const int sdEcalFwd
MonitorElement * mehSiPixelResY[7]
MonitorElement * mehSiStripResY[19]
std::pair< LocalPoint, LocalVector > projectHit(const PSimHit &hit, const StripGeomDetUnit *stripDet, const BoundPlane &plane)
edm::InputTag MuRPCSimSrc_
static const int sdHcalEC
static const int sdEcalPS
static const int sdMuonRPCRgnFwdn
MonitorElement * mehSiPixeln[7]
static const int sdHcalTT
std::map< uint32_t, float, std::less< uint32_t > > MapType
static const int sdHcalOut
void fillTrk(const edm::Event &, const edm::EventSetup &)
static const int sdEcalTT
static const int sdHcalCompst
MonitorElement * mehHcaln[4]
static const int sdHcalCalib
static const int sdMuonCSC
void fillECal(const edm::Event &, const edm::EventSetup &)
virtual ~GlobalRecHitsAnalyzer()
MonitorElement * mehDtMuonRes
MonitorElement * mehSiStripResX[19]
edm::InputTag MuDTSimSrc_
void fillHCal(const edm::Event &, const edm::EventSetup &)
static const int sdMuonRPCRgnFwdp
static const int sdHcalFwd