#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 34 of file MuonSeedCreator.h.
|
explicit |
Constructor.
See header file for a description of this class.
Definition at line 37 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, edm::ParameterSet::getParameter(), OL1213, OL1222, OL1232, OL2222, OL_1213, OL_1222, OL_1232, OL_2213, OL_2222, 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 153 of file MuonSeedCreator.cc.
References alongMomentum, BField, ALCARECOTkAlJpsiMuMu_cff::charge, vertices_cff::chi2, clone(), gather_cfg::cout, debug, cuy::dh, relativeConstraints::error, estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), estimatePtShowering(), estimatePtSingle(), PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), runTauDisplay::gp, mps_fire::i, checklumidiff::l, plotBeamSpotDB::last, PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), edm::OwnVector< T, P >::push_back(), lumiQTWidget::t, funct::tan(), theMaxMomentum, theMinMomentum, and PV3DBase< T, PVType, FrameType >::theta().
Referenced by MuonSeedBuilder::build(), and setBField().
|
private |
Estimate transverse momentum of track from CSC measurements.
Definition at line 332 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(), PV3DBase< T, PVType, FrameType >::phi(), EnergyCorrector::pt, scaledPhi(), Validation_hcalonly_cfi::sign, findQualityFiles::size, theMaxMomentum, and weightedPt().
Referenced by createSeed(), and setBField().
|
private |
Estimate transverse momentum of track from DT measurements.
Definition at line 504 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(), PV3DBase< T, PVType, FrameType >::phi(), EnergyCorrector::pt, scaledPhi(), Validation_hcalonly_cfi::sign, findQualityFiles::size, theMaxMomentum, and weightedPt().
Referenced by createSeed(), estimatePtOverlap(), and setBField().
|
private |
Estimate transverse momentum of track from CSC + DT measurements.
Definition at line 638 of file MuonSeedCreator.cc.
References defaultMomentum, estimatePtDT(), PVValHelper::eta, getPt(), 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(), and setBField().
|
private |
Estimate transverse momentum of track from showering segment.
Definition at line 901 of file MuonSeedCreator.cc.
Referenced by createSeed(), and setBField().
|
private |
Estimate transverse momentum of track from single segment.
Definition at line 767 of file MuonSeedCreator.cc.
References defaultMomentum, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), getPt(), 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(), and setBField().
|
private |
Compute pt from parameters.
Definition at line 992 of file MuonSeedCreator.cc.
References h.
Referenced by estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), estimatePtSingle(), and setBField().
|
private |
Scale the dPhi from segment position.
Definition at line 1005 of file MuonSeedCreator.cc.
Referenced by estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), estimatePtSingle(), and setBField().
|
inline |
Cache Magnetic Field for current event.
Definition at line 45 of file MuonSeedCreator.h.
References BField, createSeed(), estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), estimatePtShowering(), estimatePtSingle(), PVValHelper::eta, getPt(), LayerTriplets::layers(), EnergyCorrector::pt, scaledPhi(), and weightedPt().
Referenced by MuonSeedBuilder::build().
|
private |
Compute weighted mean pt from different pt estimators.
Definition at line 928 of file MuonSeedCreator.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, findQualityFiles::size, and mathSSE::sqrt().
Referenced by estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), and setBField().
|
private |
Definition at line 90 of file MuonSeedCreator.h.
Referenced by createSeed(), and setBField().
|
private |
Definition at line 100 of file MuonSeedCreator.h.
|
private |
Definition at line 137 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 104 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 101 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and 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 140 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 103 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 141 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 142 of file MuonSeedCreator.h.
Referenced by 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 106 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 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 108 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 147 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), and MuonSeedCreator().
|
private |
Definition at line 87 of file MuonSeedCreator.h.
Referenced by createSeed(), and MuonSeedCreator().
|
private |
Definition at line 81 of file MuonSeedCreator.h.
Referenced by estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 93 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 150 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 151 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 95 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 154 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 155 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 97 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 158 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), and MuonSeedCreator().
|
private |
Definition at line 98 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 160 of file MuonSeedCreator.h.
Referenced by estimatePtDT(), 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(), and MuonSeedCreator().
|
private |
Definition at line 113 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap().
|
private |
Definition at line 114 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 166 of file MuonSeedCreator.h.
Referenced by estimatePtOverlap(), 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 133 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 176 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 estimatePtSingle(), and 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 123 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 178 of file MuonSeedCreator.h.
Referenced by 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 182 of file MuonSeedCreator.h.
Referenced by estimatePtSingle(), and MuonSeedCreator().
|
private |
Definition at line 84 of file MuonSeedCreator.h.
Referenced by MuonSeedCreator().
|
private |
Definition at line 80 of file MuonSeedCreator.h.
Referenced by createSeed(), estimatePtCSC(), estimatePtDT(), estimatePtOverlap(), and MuonSeedCreator().
|
private |
Definition at line 79 of file MuonSeedCreator.h.
Referenced by createSeed(), and MuonSeedCreator().