Class to store the L1 Track Trigger tracks. More...
#include <TTTrack.h>
Public Member Functions | |
void | addStubRef (edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > aStub) |
double | chi2 () const |
Chi2. More... | |
double | chi2Red () const |
Chi2 reduced. More... | |
double | chi2XY () const |
Chi2XY. More... | |
double | chi2XYRed () const |
Chi2XY reduced. More... | |
double | chi2Z () const |
Chi2Z. More... | |
double | chi2ZRed () const |
Chi2Z reduced. More... | |
double | d0 () const |
Track d0. More... | |
double | eta () const |
Track eta. More... | |
unsigned int | etaSector () const |
Eta Sector. More... | |
std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > | getStubRefs () const |
Track components. More... | |
unsigned int | hitPattern () const |
Hit Pattern. More... | |
GlobalVector | momentum () const |
Track momentum. More... | |
int | nFitPars () const |
double | phi () const |
Track phi. More... | |
unsigned int | phiSector () const |
Phi Sector. More... | |
GlobalPoint | POCA () const |
POCA. More... | |
std::string | print (unsigned int i=0) const |
Information. More... | |
double | rInv () const |
Track curvature. More... | |
void | setBField (double aBField) |
set new Bfield More... | |
void | setEtaSector (unsigned int aSector) |
void | setFitParNo (unsigned int aFitParNo) |
void | setPhiSector (unsigned int aSector) |
void | setStubPtConsistency (double aPtConsistency) |
StubPtConsistency. More... | |
void | setStubRefs (std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > aStubs) |
void | setTrackSeedType (int aSeed) |
void | setTrackWordBits () |
Set bits in 96-bit Track word. More... | |
double | stubPtConsistency () const |
Stub Pt consistency. More... | |
double | tanL () const |
Track tanL. More... | |
void | testTrackWordBits () |
Test bits in 96-bit Track word. More... | |
unsigned int | trackSeedType () const |
Track seeding (for debugging) More... | |
double | trkMVA1 () const |
MVA Track quality variables. More... | |
double | trkMVA2 () const |
double | trkMVA3 () const |
TTTrack () | |
Constructors. More... | |
TTTrack (double aRinv, double aphi, double aTanLambda, double az0, double ad0, double aChi2, double trkMVA1, double trkMVA2, double trkMVA3, unsigned int aHitpattern, unsigned int nPar, double Bfield) | |
Meant to be default constructor. More... | |
TTTrack (double aRinv, double aphi, double aTanLambda, double az0, double ad0, double aChi2xyfit, double aChi2zfit, double trkMVA1, double trkMVA2, double trkMVA3, unsigned int aHitpattern, unsigned int nPar, double Bfield) | |
Second default constructor with split chi2. More... | |
double | z0 () const |
Track z0. More... | |
~TTTrack () | |
Destructor. More... | |
Public Member Functions inherited from TTTrack_TrackWord | |
unsigned int | get_BendChi2Bits () |
unsigned int | get_chi2XYBits () |
unsigned int | get_chi2ZBits () |
unsigned int | get_d0Bits () |
unsigned int | get_hitPattern () |
float | get_iBendChi2 () |
float | get_ichi2XY () |
float | get_ichi2Z () |
float | get_id0 () |
float | get_iphi () |
float | get_iRinv () |
unsigned int | get_ispare () |
float | get_itanl () |
float | get_iz0 () |
unsigned int | get_phiBits () |
unsigned int | get_RinvBits () |
unsigned int | get_tanlBits () |
unsigned int | get_z0Bits () |
TTTrack_TrackWord & | operator= (const TTTrack_TrackWord &word) |
void | setTrackWord (const GlobalVector &Momentum, const GlobalPoint &POCA, double Rinv, double Chi2XY, double Chi2Z, double BendChi2, unsigned int HitPattern, unsigned int iSpare) |
void | setTrackWord (unsigned int Rinv, unsigned int phi0, unsigned int tanl, unsigned int z0, unsigned int d0, unsigned int Chi2XY, unsigned int Chi2Z, unsigned int BendChi2, unsigned int HitPattern, unsigned int iSpare) |
TTTrack_TrackWord () | |
TTTrack_TrackWord (const GlobalVector &Momentum, const GlobalPoint &POCA, double Rinv, double Chi2, double Chi2Z, double BendChi2, unsigned int HitPattern, unsigned int iSpare) | |
TTTrack_TrackWord (const TTTrack_TrackWord &word) | |
TTTrack_TrackWord (unsigned int Rinv, unsigned int phi0, unsigned int tanl, unsigned int z0, unsigned int d0, unsigned int Chi2XY, unsigned int Chi2Z, unsigned int BendChi2, unsigned int HitPattern, unsigned int iSpare) | |
unsigned int | unpack_hitPattern () |
float | unpack_iBendChi2 () |
float | unpack_ichi2XY () |
float | unpack_ichi2Z () |
float | unpack_id0 () |
float | unpack_iphi () |
float | unpack_iRinv () |
unsigned int | unpack_ispare () |
float | unpack_itanl () |
float | unpack_iz0 () |
Private Attributes | |
double | theBField_ |
double | theChi2_ |
double | theChi2_XY_ |
double | theChi2_Z_ |
double | theD0_ |
unsigned int | theEtaSector_ |
unsigned int | theHitPattern_ |
GlobalVector | theMomentum_ |
unsigned int | theNumFitPars_ |
double | thePhi_ |
unsigned int | thePhiSector_ |
GlobalPoint | thePOCA_ |
double | theRInv_ |
double | theStubPtConsistency_ |
std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > | theStubRefs |
Data members. More... | |
double | theTanL_ |
int | theTrackSeedType_ |
double | theTrkMVA1_ |
double | theTrkMVA2_ |
double | theTrkMVA3_ |
double | theZ0_ |
Static Private Attributes | |
static constexpr float | MagConstant |
static constexpr unsigned int | Npars4 = 4 |
static constexpr unsigned int | Npars5 = 5 |
Class to store the L1 Track Trigger tracks.
After moving from SimDataFormats to DataFormats, the template structure of the class was maintained in order to accomodate any types other than PixelDigis in case there is such a need in the future.
Constructors.
Close class.
Implementation of methods
Here, in the header file, the methods which do not depend on the specific type <T> that can fit the template. Other methods, with type-specific features, are implemented in the source file. Default Constructor
Definition at line 175 of file TTTrack.h.
TTTrack< T >::TTTrack | ( | double | aRinv, |
double | aphi, | ||
double | aTanLambda, | ||
double | az0, | ||
double | ad0, | ||
double | aChi2, | ||
double | trkMVA1, | ||
double | trkMVA2, | ||
double | trkMVA3, | ||
unsigned int | aHitpattern, | ||
unsigned int | nPar, | ||
double | Bfield | ||
) |
Meant to be default constructor.
Definition at line 199 of file TTTrack.h.
References funct::abs(), funct::cos(), HcalResponse_cfi::nPar, and funct::sin().
TTTrack< T >::TTTrack | ( | double | aRinv, |
double | aphi, | ||
double | aTanLambda, | ||
double | az0, | ||
double | ad0, | ||
double | aChi2xyfit, | ||
double | aChi2zfit, | ||
double | trkMVA1, | ||
double | trkMVA2, | ||
double | trkMVA3, | ||
unsigned int | aHitpattern, | ||
unsigned int | nPar, | ||
double | Bfield | ||
) |
Second default constructor with split chi2.
Definition at line 237 of file TTTrack.h.
References TTTrack< T >::theChi2_XY_, and TTTrack< T >::theChi2_Z_.
|
inline |
Chi2 reduced.
Chi2XY reduced.
Chi2Z reduced.
Track eta.
Definition at line 296 of file TTTrack.h.
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
inline |
Track components.
Definition at line 90 of file TTTrack.h.
References TTTrack< T >::theStubRefs.
Referenced by StubPtConsistency::getConsistency().
GlobalVector TTTrack< T >::momentum | ( | ) | const |
Track momentum.
Definition at line 281 of file TTTrack.h.
Referenced by L1TkMuonProducer::build_tkMuons_from_idxs(), l1t::TkPhiCandidate::dRTrkPair(), trajectoryStateTransform::initialFreeStateL1TTrack(), L1TkElectronTrackProducer::isolation(), L1TkMuonProducer::propagateToGMT(), L1TkMuonProducer::runOnMTFCollection_v1(), and L1TkMuonProducer::runOnMTFCollection_v2().
Track phi.
Definition at line 301 of file TTTrack.h.
Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().
GlobalPoint TTTrack< T >::POCA | ( | ) | const |
POCA.
Definition at line 316 of file TTTrack.h.
Referenced by L1TkMuonProducer::build_tkMuons_from_idxs(), l1t::TkPhiCandidate::dxyTrkPair(), trajectoryStateTransform::initialFreeStateL1TTrack(), L1TkElectronTrackProducer::isolation(), L1TkMuonProducer::propagateToGMT(), L1TkMuonProducer::runOnMTFCollection_v1(), and L1TkMuonProducer::runOnMTFCollection_v2().
Information.
Definition at line 446 of file TTTrack.h.
References mps_fire::i, dqmiolumiharvest::j, convertSQLitetoXML_cfg::output, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by operator<<().
Track curvature.
Definition at line 286 of file TTTrack.h.
Referenced by L1TkMuonProducer::build_tkMuons_from_idxs(), StubPtConsistency::getConsistency(), trajectoryStateTransform::initialFreeStateL1TTrack(), L1TkElectronTrackProducer::produce(), L1TkMuonProducer::propagateToGMT(), L1TkMuonProducer::runOnMTFCollection_v1(), and L1TkMuonProducer::runOnMTFCollection_v2().
set new Bfield
set B field if need be
Definition at line 393 of file TTTrack.h.
References funct::abs().
Definition at line 271 of file TTTrack.h.
References HcalResponse_cfi::nPar.
|
inline |
Definition at line 92 of file TTTrack.h.
References TTTrack< T >::theStubRefs.
Set bits in 96-bit Track word.
Definition at line 403 of file TTTrack.h.
Stub Pt consistency.
Track seeding (for debugging)
Definition at line 134 of file TTTrack.h.
References TTTrack< T >::theTrackSeedType_.
MVA Track quality variables.
MVA quality variables.
Definition at line 41 of file TTTrack.h.
Referenced by TTTrack< T >::TTTrack().
Definition at line 42 of file TTTrack.h.
Referenced by TTTrack< T >::TTTrack().
Definition at line 38 of file TTTrack.h.
Referenced by TTTrack< T >::etaSector(), and TTTrack< T >::setEtaSector().
|
private |
Definition at line 43 of file TTTrack.h.
Referenced by TTTrack< T >::nFitPars().
Definition at line 37 of file TTTrack.h.
Referenced by TTTrack< T >::phiSector(), and TTTrack< T >::setPhiSector().
|
private |
|
private |
Data members.
Definition at line 29 of file TTTrack.h.
Referenced by TTTrack< T >::addStubRef(), TTTrack< T >::getStubRefs(), and TTTrack< T >::setStubRefs().
Definition at line 48 of file TTTrack.h.
Referenced by TTTrack< T >::setTrackSeedType(), and TTTrack< T >::trackSeedType().