#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 16 of file MuonSeedPtExtractor.h.
|
private |
Definition at line 46 of file MuonSeedPtExtractor.h.
|
private |
Definition at line 47 of file MuonSeedPtExtractor.h.
MuonSeedPtExtractor::MuonSeedPtExtractor | ( | const edm::ParameterSet & | par | ) |
Constructor with Parameter set and MuonServiceProxy.
Definition at line 10 of file MuonSeedPtExtractor.cc.
References init().
|
virtual |
|
private |
Definition at line 110 of file MuonSeedPtExtractor.cc.
References Skims_PA_cff::name, muonDTDigis_cfi::pset, and theParametersForCombo.
Referenced by init().
|
private |
Definition at line 114 of file MuonSeedPtExtractor.cc.
References Skims_PA_cff::name, muonDTDigis_cfi::pset, and theScalesForCombo.
Referenced by init().
|
private |
Definition at line 356 of file MuonSeedPtExtractor.cc.
References HLT_2024v11_cff::dPhi, PVValHelper::eta, and h.
Referenced by pT_extract().
|
private |
Definition at line 369 of file MuonSeedPtExtractor.cc.
References funct::abs(), HLT_2024v11_cff::dPhi, PVValHelper::eta, h, scaleFactor, RandomServiceHelper::t1, theScalesForCombo, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
private |
Definition at line 15 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 118 of file MuonSeedPtExtractor.cc.
References funct::abs(), HLT_2024v11_cff::dPhi, MillePedeFileConverter_cfg::e, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), Exception, getPt(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), Pi, relativeConstraints::ring, CSCDetId::ring(), scaleDT_, Validation_hcalonly_cfi::sign, mathSSE::sqrt(), DTChamberId::station(), ME0DetId::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 29 of file MuonSeedPtExtractor.h.
References theBeamSpot.
Referenced by MuonSeedVFinder::setBeamSpot().
|
private |
Definition at line 336 of file MuonSeedPtExtractor.cc.
References hcalRecHitTable_cff::detId, mps_fire::result, CSCDetId::ring(), DTChamberId::station(), and CSCDetId::station().
Referenced by pT_extract().
|
private |
Definition at line 51 of file MuonSeedPtExtractor.h.
Referenced by pT_extract().
|
private |
Definition at line 50 of file MuonSeedPtExtractor.h.
Referenced by pT_extract(), and setBeamSpot().
|
private |
Definition at line 48 of file MuonSeedPtExtractor.h.
Referenced by fillParametersForCombo(), and pT_extract().
|
private |
Definition at line 49 of file MuonSeedPtExtractor.h.
Referenced by fillScalesForCombo(), and getPt().