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... | |
void | settrkMVA1 (double atrkMVA1) |
void | settrkMVA2 (double atrkMVA2) |
void | settrkMVA3 (double atrkMVA3) |
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 181 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 205 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 243 of file TTTrack.h.
References TTTrack< T >::theChi2_XY_, and TTTrack< T >::theChi2_Z_.
|
inline |
Chi2.
Definition at line 328 of file TTTrack.h.
Referenced by TrackQuality::featureTransform(), and TrackQuality::setTrackQuality().
Chi2 reduced.
Chi2XY reduced.
Chi2Z reduced.
Track eta.
Definition at line 302 of file TTTrack.h.
Referenced by Particle.Particle::__str__(), TrackQuality::featureTransform(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
inline |
Track components.
Definition at line 93 of file TTTrack.h.
References TTTrack< T >::theStubRefs.
Referenced by TrackQuality::featureTransform(), StubPtConsistency::getConsistency(), and TrackQuality::setTrackQuality().
Hit Pattern.
Definition at line 410 of file TTTrack.h.
Referenced by TrackQuality::featureTransform().
GlobalVector TTTrack< T >::momentum | ( | ) | const |
Track momentum.
Definition at line 287 of file TTTrack.h.
Referenced by L1TkMuonProducer::build_tkMuons_from_idxs(), l1t::TkPhiCandidate::dRTrkPair(), TrackQuality::featureTransform(), trajectoryStateTransform::initialFreeStateL1TTrack(), L1TkElectronTrackProducer::isolation(), L1TkMuonProducer::propagateToGMT(), L1TkMuonProducer::runOnMTFCollection_v1(), L1TkMuonProducer::runOnMTFCollection_v2(), and TrackQuality::setTrackQuality().
Track phi.
Definition at line 307 of file TTTrack.h.
Referenced by Particle.Particle::__str__(), TrackQuality::featureTransform(), and ntupleDataFormat.Track::phiPull().
GlobalPoint TTTrack< T >::POCA | ( | ) | const |
POCA.
Definition at line 322 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 468 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 292 of file TTTrack.h.
Referenced by L1TkMuonProducer::build_tkMuons_from_idxs(), TrackQuality::featureTransform(), 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 416 of file TTTrack.h.
References funct::abs().
Definition at line 277 of file TTTrack.h.
References HcalResponse_cfi::nPar.
|
inline |
Definition at line 95 of file TTTrack.h.
References TTTrack< T >::theStubRefs.
Set bits in 96-bit Track word.
Definition at line 426 of file TTTrack.h.
References tttrack::errorSetTrackWordBits().
Definition at line 368 of file TTTrack.h.
Referenced by TrackQuality::setTrackQuality().
Stub Pt consistency.
Definition at line 404 of file TTTrack.h.
Referenced by TrackQuality::featureTransform(), and TrackQuality::setTrackQuality().
Track tanL.
Definition at line 297 of file TTTrack.h.
Referenced by TrackQuality::featureTransform().
Track seeding (for debugging)
Definition at line 140 of file TTTrack.h.
References TTTrack< T >::theTrackSeedType_.
MVA Track quality variables.
Track z0.
Definition at line 317 of file TTTrack.h.
Referenced by TrackQuality::featureTransform(), and TrackQuality::setTrackQuality().
Definition at line 44 of file TTTrack.h.
Referenced by TTTrack< T >::TTTrack().
Definition at line 45 of file TTTrack.h.
Referenced by TTTrack< T >::TTTrack().
Definition at line 41 of file TTTrack.h.
Referenced by TTTrack< T >::etaSector(), and TTTrack< T >::setEtaSector().
|
private |
Definition at line 46 of file TTTrack.h.
Referenced by TTTrack< T >::nFitPars().
Definition at line 40 of file TTTrack.h.
Referenced by TTTrack< T >::phiSector(), and TTTrack< T >::setPhiSector().
|
private |
|
private |
Data members.
Definition at line 32 of file TTTrack.h.
Referenced by TTTrack< T >::addStubRef(), TTTrack< T >::getStubRefs(), and TTTrack< T >::setStubRefs().
Definition at line 51 of file TTTrack.h.
Referenced by TTTrack< T >::setTrackSeedType(), and TTTrack< T >::trackSeedType().