#include <MuonSeedPtExtractor.h>
Public Member Functions | |
MuonSeedPtExtractor (const edm::ParameterSet &) | |
Constructor with Parameter set and MuonServiceProxy. More... | |
virtual std::vector< double > | pT_extract (MuonTransientTrackingRecHit::ConstMuonRecHitPointer firstHit, MuonTransientTrackingRecHit::ConstMuonRecHitPointer secondHit) const |
void | setBeamSpot (const GlobalVector &gv) |
virtual | ~MuonSeedPtExtractor () |
Destructor. More... | |
Private Types | |
typedef std::map< std::string, std::vector< double > > | ParametersMap |
typedef std::map< std::string, std::vector< double > > | ScalesMap |
Private Member Functions | |
void | fillParametersForCombo (const std::string &name, const edm::ParameterSet &pset) |
void | fillScalesForCombo (const std::string &name, const edm::ParameterSet &pset) |
std::vector< double > | getPt (const std::vector< double > &vPara, double eta, double dPhi) const |
std::vector< double > | getPt (const std::vector< double > &vPara, double eta, double dPhi, const std::string &combination, const DTChamberId &outerDetId) const |
void | init (const edm::ParameterSet &par) |
int | stationCode (MuonTransientTrackingRecHit::ConstMuonRecHitPointer hit) const |
Private Attributes | |
bool | scaleDT_ |
GlobalVector | theBeamSpot |
ParametersMap | theParametersForCombo |
ScalesMap | theScalesForCombo |
Definition at line 15 of file MuonSeedPtExtractor.h.
|
private |
Definition at line 45 of file MuonSeedPtExtractor.h.
|
private |
Definition at line 46 of file MuonSeedPtExtractor.h.
MuonSeedPtExtractor::MuonSeedPtExtractor | ( | const edm::ParameterSet & | par | ) |
Constructor with Parameter set and MuonServiceProxy.
Definition at line 9 of file MuonSeedPtExtractor.cc.
References init().
|
virtual |
|
private |
Definition at line 117 of file MuonSeedPtExtractor.cc.
References edm::ParameterSet::getParameter(), mergeVDriftHistosByStation::name, and theParametersForCombo.
Referenced by init().
|
private |
Definition at line 123 of file MuonSeedPtExtractor.cc.
References edm::ParameterSet::getParameter(), mergeVDriftHistosByStation::name, and theScalesForCombo.
Referenced by init().
|
private |
Definition at line 381 of file MuonSeedPtExtractor.cc.
References h.
Referenced by pT_extract().
|
private |
Definition at line 394 of file MuonSeedPtExtractor.cc.
References abs, h, theScalesForCombo, and DTChamberId::wheel().
|
private |
Definition at line 17 of file MuonSeedPtExtractor.cc.
References fillParametersForCombo(), and fillScalesForCombo().
Referenced by MuonSeedPtExtractor().
|
virtual |
If firstHit and secondHit are the same, it calculates the pT from the phi bend of the single segment
Definition at line 129 of file MuonSeedPtExtractor.cc.
References abs, dPhi(), alignCSCRings::e, PV3DBase< T, PVType, FrameType >::eta(), eta(), edm::hlt::Exception, getPt(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), Pi, relativeConstraints::ring, CSCDetId::ring(), scaleDT_, mathSSE::sqrt(), DTChamberId::station(), CSCDetId::station(), stationCode(), AlCaHLTBitMon_QueryRunRegistry::string, theBeamSpot, theParametersForCombo, DTChamberId::wheel(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by MuonDTSeedFromRecHits::computePtWithoutVtx(), MuonDTSeedFromRecHits::computePtWithVtx(), MuonCSCSeedFromRecHits::createDefaultEndcapSeed(), SETSeedFinder::estimateMomentum(), MuonOverlapSeedFromRecHits::makeSeed(), and MuonCSCSeedFromRecHits::makeSeed().
|
inline |
Definition at line 30 of file MuonSeedPtExtractor.h.
References theBeamSpot.
Referenced by MuonSeedVFinder::setBeamSpot().
|
private |
Definition at line 359 of file MuonSeedPtExtractor.cc.
References query::result, CSCDetId::ring(), DTChamberId::station(), and CSCDetId::station().
Referenced by pT_extract().
|
private |
Definition at line 50 of file MuonSeedPtExtractor.h.
Referenced by pT_extract().
|
private |
Definition at line 49 of file MuonSeedPtExtractor.h.
Referenced by pT_extract(), and setBeamSpot().
|
private |
Definition at line 47 of file MuonSeedPtExtractor.h.
Referenced by fillParametersForCombo(), and pT_extract().
|
private |
Definition at line 48 of file MuonSeedPtExtractor.h.
Referenced by fillScalesForCombo(), and getPt().