#include <MuonSeedCreator.h>
Public Types | |
typedef MuonTransientTrackingRecHit::MuonRecHitContainer | SegmentContainer |
Public Member Functions | |
TrajectorySeed | createSeed (int type, const SegmentContainer &seg, const std::vector< int > &layers, int NShower, int NShowerSeg) |
Create a seed from set of segments. More... | |
MuonSeedCreator (const edm::ParameterSet &pset) | |
Constructor. More... | |
void | setBField (const MagneticField *theField) |
Cache Magnetic Field for current event. More... | |
~MuonSeedCreator () | |
Destructor. More... | |
Private Member Functions | |
void | estimatePtCSC (const SegmentContainer &seg, const std::vector< int > &layers, double &pt, double &spt) |
Estimate transverse momentum of track from CSC measurements. More... | |
void | estimatePtDT (const SegmentContainer &seg, const std::vector< int > &layers, double &pt, double &spt) |
Estimate transverse momentum of track from DT measurements. More... | |
void | estimatePtOverlap (const SegmentContainer &seg, const std::vector< int > &layers, double &pt, double &spt) |
Estimate transverse momentum of track from CSC + DT measurements. More... | |
void | estimatePtShowering (int &NShowers, int &NShowerSeg, double &pt, double &spt) |
Estimate transverse momentum of track from showering segment. More... | |
void | estimatePtSingle (const SegmentContainer &seg, const std::vector< int > &layers, double &pt, double &spt) |
Estimate transverse momentum of track from single segment. More... | |
std::vector< double > | getPt (const std::vector< double > &vParameters, double eta, double dPhi) |
Compute pt from parameters. More... | |
double | scaledPhi (double dphi, double t1) |
Scale the dPhi from segment position. More... | |
void | weightedPt (const std::vector< double > &ptEstimate, const std::vector< double > &sptEstimate, double &ptAvg, double &sptAvg) |
Compute weighted mean pt from different pt estimators. More... | |
Private Attributes | |
const MagneticField * | BField |
std::vector< double > | CSC01 |
std::vector< double > | CSC01_1 |
std::vector< double > | CSC02 |
std::vector< double > | CSC03 |
std::vector< double > | CSC12 |
std::vector< double > | CSC12_1 |
std::vector< double > | CSC12_2 |
std::vector< double > | CSC12_3 |
std::vector< double > | CSC13 |
std::vector< double > | CSC13_2 |
std::vector< double > | CSC13_3 |
std::vector< double > | CSC14 |
std::vector< double > | CSC14_3 |
std::vector< double > | CSC23 |
std::vector< double > | CSC23_1 |
std::vector< double > | CSC23_2 |
std::vector< double > | CSC24 |
std::vector< double > | CSC24_1 |
std::vector< double > | CSC34 |
std::vector< double > | CSC34_1 |
bool | debug |
float | defaultMomentum |
std::vector< double > | DT12 |
std::vector< double > | DT12_1 |
std::vector< double > | DT12_2 |
std::vector< double > | DT13 |
std::vector< double > | DT13_1 |
std::vector< double > | DT13_2 |
std::vector< double > | DT14 |
std::vector< double > | DT14_1 |
std::vector< double > | DT14_2 |
std::vector< double > | DT23 |
std::vector< double > | DT23_1 |
std::vector< double > | DT23_2 |
std::vector< double > | DT24 |
std::vector< double > | DT24_1 |
std::vector< double > | DT24_2 |
std::vector< double > | DT34 |
std::vector< double > | DT34_1 |
std::vector< double > | DT34_2 |
std::vector< double > | OL1213 |
std::vector< double > | OL1222 |
std::vector< double > | OL1232 |
std::vector< double > | OL2213 |
std::vector< double > | OL2222 |
std::vector< double > | OL_1213 |
std::vector< double > | OL_1222 |
std::vector< double > | OL_1232 |
std::vector< double > | OL_2213 |
std::vector< double > | OL_2222 |
std::vector< double > | SMB10 |
std::vector< double > | SMB11 |
std::vector< double > | SMB12 |
std::vector< double > | SMB20 |
std::vector< double > | SMB21 |
std::vector< double > | SMB22 |
std::vector< double > | SMB30 |
std::vector< double > | SMB31 |
std::vector< double > | SMB32 |
std::vector< double > | SMB_10S |
std::vector< double > | SMB_11S |
std::vector< double > | SMB_12S |
std::vector< double > | SMB_20S |
std::vector< double > | SMB_21S |
std::vector< double > | SMB_22S |
std::vector< double > | SMB_30S |
std::vector< double > | SMB_31S |
std::vector< double > | SMB_32S |
std::vector< double > | SME11 |
std::vector< double > | SME12 |
std::vector< double > | SME13 |
std::vector< double > | SME21 |
std::vector< double > | SME22 |
std::vector< double > | SME31 |
std::vector< double > | SME32 |
std::vector< double > | SME41 |
std::vector< double > | SME_11S |
std::vector< double > | SME_12S |
std::vector< double > | SME_13S |
std::vector< double > | SME_21S |
std::vector< double > | SME_22S |
double | sysError |
float | theMaxMomentum |
float | theMinMomentum |
Creates seed from vector of segment
Determine pt of seed using various combination of segments from different layers (stations) Parameterization used to determine pt between layers i and j:
pt = [ c_0 + c_1 * (Delta phi_ij) + c_2 * (Delta phi_ij)^2 ] / eta
Definition at line 30 of file MuonSeedCreator.h.
Definition at line 32 of file MuonSeedCreator.h.
|
explicit |
Constructor.
See header file for a description of this class.
Definition at line 35 of file MuonSeedCreator.cc.
References CSC01_1, CSC02, CSC03, CSC12, CSC12_1, CSC12_2, CSC12_3, CSC13, CSC13_2, CSC13_3, CSC14, CSC14_3, CSC23, CSC23_1, CSC23_2, CSC24, CSC24_1, CSC34, CSC34_1, debug, defaultMomentum, DT12, DT12_1, DT12_2, DT13, DT13_1, DT13_2, DT14, DT14_1, DT14_2, DT23, DT23_1, DT23_2, DT24, DT24_1, DT24_2, DT34, DT34_1, DT34_2, OL1213, OL1222, OL1232, OL2222, OL_1213, OL_1222, OL_1232, OL_2213, OL_2222, muonDTDigis_cfi::pset, SMB10, SMB11, SMB12, SMB20, SMB21, SMB22, SMB30, SMB31, SMB32, SMB_10S, SMB_11S, SMB_12S, SMB_20S, SMB_21S, SMB_22S, SMB_30S, SMB_31S, SMB_32S, SME11, SME12, SME13, SME21, SME22, SME31, SME32, SME41, SME_11S, SME_12S, SME_13S, SME_21S, SME_22S, sysError, theMaxMomentum, and theMinMomentum.
MuonSeedCreator::~MuonSeedCreator | ( | ) |
TrajectorySeed MuonSeedCreator::createSeed | ( | int | type, |
const SegmentContainer & | seg, | ||
const std::vector< int > & | layers, | ||
int | NShower, | ||
int | NShowerSeg | ||
) |
Create a seed from set of segments.
get the Global position
get the Global direction
scale the magnitude of total momentum
Trasfer into local direction
get the Global position
get the Global direction
count the energy loss - from parameterization
scale the magnitude of total momentum
Trasfer into local direction
Definition at line 145 of file MuonSeedCreator.cc.
References alongMomentum, BField, ALCARECOTkAlJpsiMuMu_cff::charge, nano_mu_local_reco_cff::chi2, clone(), gather_cfg::cout, debug, cuy::dh, relativeConstraints::error, estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), estimatePtShowering(), estimatePtSingle(), PVValHelper::eta, runTauDisplay::gp, mps_fire::i, MainPageGenerator::l, dqmdumpme::last, hgcalTBTopologyTester_cfi::layers, PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), edm::OwnVector< T, P >::push_back(), nano_mu_digi_cff::rawId, submitPVValidationJobs::t, funct::tan(), theMaxMomentum, theMinMomentum, and PV3DBase< T, PVType, FrameType >::theta().
Referenced by MuonSeedBuilder::build().
|
private |
Estimate transverse momentum of track from CSC measurements.
Definition at line 324 of file MuonSeedCreator.cc.
References CSC02, CSC03, CSC12, CSC13, CSC13_2, CSC14, CSC14_3, CSC23, CSC23_1, CSC23_2, CSC24, CSC24_1, CSC34, CSC34_1, defaultMomentum, PVValHelper::eta, getPt(), hgcalTBTopologyTester_cfi::layers, PV3DBase< T, PVType, FrameType >::phi(), DiDispStaMuonMonitor_cfi::pt, scaledPhi(), Validation_hcalonly_cfi::sign, findQualityFiles::size, theMaxMomentum, and weightedPt().
Referenced by createSeed().
|
private |
Estimate transverse momentum of track from DT measurements.
Definition at line 494 of file MuonSeedCreator.cc.
References defaultMomentum, DT12, DT12_1, DT12_2, DT13, DT13_1, DT13_2, DT14, DT14_1, DT14_2, DT23, DT23_1, DT23_2, DT24, DT24_1, DT24_2, DT34, DT34_1, DT34_2, PVValHelper::eta, getPt(), hgcalTBTopologyTester_cfi::layers, PV3DBase< T, PVType, FrameType >::phi(), DiDispStaMuonMonitor_cfi::pt, scaledPhi(), Validation_hcalonly_cfi::sign, findQualityFiles::size, theMaxMomentum, and weightedPt().
Referenced by createSeed(), and estimatePtOverlap().
|
private |
Estimate transverse momentum of track from CSC + DT measurements.
Definition at line 643 of file MuonSeedCreator.cc.
References defaultMomentum, estimatePtDT(), PVValHelper::eta, getPt(), dqmiolumiharvest::j, hgcalTBTopologyTester_cfi::layers, OL1213, OL1222, OL1232, OL2213, OL2222, OL_1213, OL_1222, OL_1232, OL_2213, OL_2222, PV3DBase< T, PVType, FrameType >::phi(), scaledPhi(), Validation_hcalonly_cfi::sign, findQualityFiles::size, theMaxMomentum, and weightedPt().
Referenced by createSeed().
|
private |
Estimate transverse momentum of track from showering segment.
Definition at line 909 of file MuonSeedCreator.cc.
Referenced by createSeed().
|
private |
Estimate transverse momentum of track from single segment.
Definition at line 773 of file MuonSeedCreator.cc.
References defaultMomentum, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), getPt(), hgcalTBTopologyTester_cfi::layers, scaledPhi(), Validation_hcalonly_cfi::sign, SMB10, SMB11, SMB12, SMB20, SMB21, SMB22, SMB30, SMB31, SMB32, SMB_10S, SMB_11S, SMB_12S, SMB_20S, SMB_21S, SMB_22S, SMB_30S, SMB_31S, SMB_32S, SME11, SME12, SME13, SME21, SME22, SME_12S, SME_13S, SME_21S, SME_22S, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by createSeed().
|
private |
Compute pt from parameters.
Definition at line 1001 of file MuonSeedCreator.cc.
References HLT_2024v10_cff::dPhi, PVValHelper::eta, and h.
Referenced by estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), and estimatePtSingle().
|
private |
Scale the dPhi from segment position.
Definition at line 1013 of file MuonSeedCreator.cc.
References RandomServiceHelper::t1.
Referenced by estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), and estimatePtSingle().
|
inline |
Cache Magnetic Field for current event.
Definition at line 43 of file MuonSeedCreator.h.
References BField.
Referenced by MuonSeedBuilder::build().
|
private |
Compute weighted mean pt from different pt estimators.
Definition at line 934 of file MuonSeedCreator.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, dqmiolumiharvest::j, findQualityFiles::size, and mathSSE::sqrt().
Referenced by estimatePtCSC(), estimatePtDT(), and estimatePtOverlap().
|
private |
Definition at line 89 of file MuonSeedCreator.h.
Referenced by createSeed(), and setBField().
|
private |
Definition at line 99 of file MuonSeedCreator.h.
|
private |
Definition at line 136 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 101 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 103 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 100 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 137 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 138 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 139 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 102 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 140 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 141 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 104 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 142 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 105 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 143 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 144 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 106 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 145 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 107 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 146 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 86 of file MuonSeedCreator.h.
Referenced by createSeed(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), MuonSeedCreator(), and runTauIdMVA.TauIDEmbedder::runTauID().
|
private |
Definition at line 80 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 92 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 148 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 149 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 93 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 150 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 151 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 94 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 152 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 153 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 95 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 154 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 155 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 96 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 156 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 157 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 97 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 158 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 159 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 109 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap(), and MuonSeedCreator().
|
private |
Definition at line 110 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap(), and MuonSeedCreator().
|
private |
Definition at line 111 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap(), and MuonSeedCreator().
|
private |
Definition at line 112 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap().
|
private |
Definition at line 113 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap(), and MuonSeedCreator().
|
private |
Definition at line 161 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap(), and MuonSeedCreator().
|
private |
Definition at line 162 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap(), and MuonSeedCreator().
|
private |
Definition at line 163 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap(), and MuonSeedCreator().
|
private |
Definition at line 164 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap(), and MuonSeedCreator().
|
private |
Definition at line 165 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap(), and MuonSeedCreator().
|
private |
Definition at line 124 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 125 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 126 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 127 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 128 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 129 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 130 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 131 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 132 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 167 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 168 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 169 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 170 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 171 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 172 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 173 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 174 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 175 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 115 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 116 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 117 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 118 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 119 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 120 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 121 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 122 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 177 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 178 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 179 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 180 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 181 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 83 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 79 of file MuonSeedCreator.h.
Referenced by createSeed(), estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), and MuonSeedCreator().
|
private |
Definition at line 78 of file MuonSeedCreator.h.
Referenced by createSeed(), and MuonSeedCreator().