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 | d0 () const |
Track d0. More... | |
double | eta () const |
Track eta. More... | |
double | getChi2 (unsigned int npar=4) const |
double | getChi2Red (unsigned int npar=4) const |
GlobalVector | getMomentum (unsigned int npar=Npars4) const |
GlobalPoint | getPOCA (unsigned int npar=Npars4) const |
double | getRInv (unsigned int npar=Npars4) const |
unsigned int | getSector () const |
double | getStubPtConsistency (unsigned int npar=4) const |
Stub Pt consistency. More... | |
std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > | getStubRefs () const |
Track components. More... | |
GlobalVector | momentum () const |
Track momentum. More... | |
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 | 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 | setTrackSeed (int aSeed) |
void | setTrackWordBits () |
Set bits in 96-bit Track word. More... | |
double | tanL () const |
Track tanL. More... | |
void | testTrackWordBits () |
Test bits in 96-bit Track word. More... | |
unsigned int | TrackSeed () const |
Track seeding (for debugging) More... | |
TTTrack () | |
Constructors. More... | |
TTTrack (std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > aStubs) | |
Another Constructor. More... | |
TTTrack (double aRinv, double aphi, double aeta, double az0, double ad0, double aChi2, unsigned int aHitpattern, unsigned int nPar, double Bfield) | |
Meant to be default constructor. More... | |
double | z0 () const |
Track z0. More... | |
~TTTrack () | |
Destructor. More... | |
Public Member Functions inherited from TTTrack_TrackWord | |
unsigned int | get_BendChi2Bits () |
unsigned int | get_chi2Bits () |
unsigned int | get_d0Bits () |
unsigned int | get_etaBits () |
unsigned int | get_hitPattern () |
float | get_iBendChi2 () |
float | get_ichi2 () |
float | get_id0 () |
float | get_ieta () |
float | get_iphi () |
float | get_iRinv () |
unsigned int | get_ispare () |
float | get_iz0 () |
unsigned int | get_phiBits () |
unsigned int | get_RinvBits () |
unsigned int | get_z0Bits () |
TTTrack_TrackWord & | operator= (const TTTrack_TrackWord &word) |
void | setTrackWord (const GlobalVector &Momentum, const GlobalPoint &POCA, double theRinv, double theChi2, double theBendChi2, unsigned int theHitPattern, unsigned int iSpare) |
void | setTrackWord (unsigned int theRinv, unsigned int phi0, unsigned int tanl, unsigned int z0, unsigned int d0, unsigned int theChi2, unsigned int theBendChi2, unsigned int theHitPattern, unsigned int iSpare) |
TTTrack_TrackWord () | |
TTTrack_TrackWord (const GlobalVector &Momentum, const GlobalPoint &POCA, double theRinv, double theChi2, double theBendChi2, unsigned int theHitPattern, unsigned int iSpare) | |
TTTrack_TrackWord (unsigned int theRinv, unsigned int phi0, unsigned int tanl, unsigned int z0, unsigned int d0, unsigned int theChi2, unsigned int theBendChi2, unsigned int theHitPattern, unsigned int iSpare) | |
TTTrack_TrackWord (const TTTrack_TrackWord &word) | |
unsigned int | unpack_hitPattern () |
float | unpack_iBendChi2 () |
float | unpack_ichi2 () |
float | unpack_id0 () |
float | unpack_ieta () |
float | unpack_iphi () |
float | unpack_iRinv () |
unsigned int | unpack_ispare () |
float | unpack_iz0 () |
Private Attributes | |
float | an_MVA_Value |
float | another_MVA_Value |
unsigned int | NumFitPars |
double | theBField |
double | theChi2 |
double | theD0 |
double | theEta |
unsigned int | theHitPattern |
GlobalVector | theMomentum |
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 | theTrackSeed |
double | theZ0 |
Static Private Attributes | |
static float | MagConstant = 0.3 |
static unsigned int | Npars4 = 4 |
static 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 140 of file TTTrack.h.
References TTTrack< T >::NumFitPars, TTTrack< T >::theChi2, TTTrack< T >::theMomentum, TTTrack< T >::thePhiSector, TTTrack< T >::thePOCA, TTTrack< T >::theRInv, TTTrack< T >::theStubPtConsistency, TTTrack< T >::theStubRefs, and TTTrack< T >::theTrackSeed.
TTTrack< T >::TTTrack | ( | std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > | aStubs | ) |
Another Constructor.
Definition at line 154 of file TTTrack.h.
References TTTrack< T >::NumFitPars, TTTrack< T >::theChi2, TTTrack< T >::theMomentum, TTTrack< T >::thePhiSector, TTTrack< T >::thePOCA, TTTrack< T >::theRInv, TTTrack< T >::theStubPtConsistency, TTTrack< T >::theStubRefs, and TTTrack< T >::theTrackSeed.
TTTrack< T >::TTTrack | ( | double | aRinv, |
double | aphi, | ||
double | aeta, | ||
double | az0, | ||
double | ad0, | ||
double | aChi2, | ||
unsigned int | aHitpattern, | ||
unsigned int | nPar, | ||
double | Bfield | ||
) |
Meant to be default constructor.
Definition at line 168 of file TTTrack.h.
References funct::cos(), TTTrack< T >::MagConstant, TTTrack< T >::NumFitPars, funct::sin(), TTTrack< T >::theBField, TTTrack< T >::theChi2, TTTrack< T >::theHitPattern, TTTrack< T >::theMomentum, TTTrack< T >::thePhiSector, TTTrack< T >::thePOCA, TTTrack< T >::theRInv, TTTrack< T >::theStubPtConsistency, TTTrack< T >::theStubRefs, and TTTrack< T >::theTrackSeed.
|
inline |
Definition at line 70 of file TTTrack.h.
Chi2.
Definition at line 289 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, and TTTrack< T >::theChi2.
Referenced by TTTrack< T >::getChi2(), and TTTrack< T >::setTrackSeed().
Chi2 reduced.
Definition at line 304 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, TTTrack< T >::theChi2, and TTTrack< T >::theStubRefs.
Referenced by TTTrack< T >::getChi2Red(), and TTTrack< T >::setTrackSeed().
Track d0.
Definition at line 258 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, and TTTrack< T >::theD0.
Referenced by TTTrack< T >::setStubRefs().
Track eta.
Definition at line 242 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, and TTTrack< T >::theEta.
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), Jet.Jet::puJetId(), and TTTrack< T >::setStubRefs().
Definition at line 297 of file TTTrack.h.
References TTTrack< T >::chi2().
Referenced by TTTrack< T >::setTrackSeed().
Definition at line 312 of file TTTrack.h.
References TTTrack< T >::chi2Red().
Referenced by TTTrack< T >::setTrackSeed().
GlobalVector TTTrack< T >::getMomentum | ( | unsigned int | npar = Npars4 | ) | const |
Definition at line 215 of file TTTrack.h.
References TTTrack< T >::momentum().
Referenced by TTTrack< T >::setStubRefs().
GlobalPoint TTTrack< T >::getPOCA | ( | unsigned int | npar = Npars4 | ) | const |
Definition at line 282 of file TTTrack.h.
References TTTrack< T >::POCA().
Referenced by TTTrack< T >::setStubRefs().
Definition at line 228 of file TTTrack.h.
References TTTrack< T >::rInv().
Referenced by StubPtConsistency::getConsistency(), and TTTrack< T >::setStubRefs().
Stub Pt consistency.
Definition at line 327 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, and TTTrack< T >::theStubPtConsistency.
Referenced by TTTrack< T >::setTrackSeed().
|
inline |
Track components.
Definition at line 69 of file TTTrack.h.
References TTTrack< T >::theStubRefs.
Referenced by StubPtConsistency::getConsistency().
GlobalVector TTTrack< T >::momentum | ( | ) | const |
Track momentum.
Definition at line 207 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, and TTTrack< T >::theMomentum.
Referenced by TTTrack< T >::getMomentum(), and TTTrack< T >::setStubRefs().
Track phi.
Definition at line 250 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, and TTTrack< T >::thePhi.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), and TTTrack< T >::setStubRefs().
GlobalPoint TTTrack< T >::POCA | ( | ) | const |
POCA.
Definition at line 274 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, and TTTrack< T >::thePOCA.
Referenced by TTTrack< T >::getPOCA(), and TTTrack< T >::setStubRefs().
Information.
Definition at line 374 of file TTTrack.h.
References mps_fire::i, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_QueryRunRegistry::string, and TTTrack< T >::theStubRefs.
Referenced by TTTrack< T >::setTrackSeed().
Track curvature.
Definition at line 220 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, and TTTrack< T >::theRInv.
Referenced by TTTrack< T >::getRInv(), and TTTrack< T >::setStubRefs().
Definition at line 197 of file TTTrack.h.
References TTTrack< T >::NumFitPars.
Referenced by TTTrack< T >::setTrackSeed().
Definition at line 319 of file TTTrack.h.
References TTTrack< T >::theStubPtConsistency.
Referenced by TTTrack< T >::setTrackSeed().
|
inline |
Definition at line 71 of file TTTrack.h.
References TTTrack< T >::d0(), TTTrack< T >::eta(), TTTrack< T >::getMomentum(), TTTrack< T >::getPOCA(), TTTrack< T >::getRInv(), TTTrack< T >::momentum(), TTTrack< T >::phi(), TTTrack< T >::POCA(), TTTrack< T >::rInv(), TTTrack< T >::tanL(), and TTTrack< T >::z0().
Definition at line 109 of file TTTrack.h.
References TTTrack< T >::chi2(), TTTrack< T >::chi2Red(), TTTrack< T >::getChi2(), TTTrack< T >::getChi2Red(), TTTrack< T >::getStubPtConsistency(), mps_fire::i, TTTrack< T >::print(), TTTrack< T >::setFitParNo(), TTTrack< T >::setStubPtConsistency(), TTTrack< T >::setTrackWordBits(), AlCaHLTBitMon_QueryRunRegistry::string, and TTTrack< T >::testTrackWordBits().
Set bits in 96-bit Track word.
Definition at line 336 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, TTTrack_TrackWord::setTrackWord(), TTTrack< T >::theChi2, TTTrack< T >::theHitPattern, TTTrack< T >::theMomentum, TTTrack< T >::thePOCA, TTTrack< T >::theRInv, and TTTrack< T >::theStubPtConsistency.
Referenced by TTTrack< T >::setTrackSeed().
Track tanL.
Definition at line 234 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, and TTTrack< T >::theTanL.
Referenced by TTTrack< T >::setStubRefs().
Test bits in 96-bit Track word.
Definition at line 354 of file TTTrack.h.
Referenced by TTTrack< T >::setTrackSeed().
Track seeding (for debugging)
Definition at line 108 of file TTTrack.h.
References TTTrack< T >::theTrackSeed.
Track z0.
Definition at line 266 of file TTTrack.h.
References TTTrack< T >::Npars4, TTTrack< T >::Npars5, TTTrack< T >::NumFitPars, and TTTrack< T >::theZ0.
Referenced by TTTrack< T >::setStubRefs().
Definition at line 48 of file TTTrack.h.
Referenced by TTTrack< T >::TTTrack().
Definition at line 46 of file TTTrack.h.
Referenced by TTTrack< T >::chi2(), TTTrack< T >::chi2Red(), TTTrack< T >::d0(), TTTrack< T >::eta(), TTTrack< T >::getStubPtConsistency(), TTTrack< T >::momentum(), TTTrack< T >::phi(), TTTrack< T >::POCA(), TTTrack< T >::rInv(), TTTrack< T >::setTrackWordBits(), TTTrack< T >::tanL(), and TTTrack< T >::z0().
Definition at line 47 of file TTTrack.h.
Referenced by TTTrack< T >::chi2(), TTTrack< T >::chi2Red(), TTTrack< T >::d0(), TTTrack< T >::eta(), TTTrack< T >::getStubPtConsistency(), TTTrack< T >::momentum(), TTTrack< T >::phi(), TTTrack< T >::POCA(), TTTrack< T >::rInv(), TTTrack< T >::setTrackWordBits(), TTTrack< T >::tanL(), and TTTrack< T >::z0().
Definition at line 40 of file TTTrack.h.
Referenced by TTTrack< T >::chi2(), TTTrack< T >::chi2Red(), TTTrack< T >::d0(), TTTrack< T >::eta(), TTTrack< T >::getStubPtConsistency(), TTTrack< T >::momentum(), TTTrack< T >::phi(), TTTrack< T >::POCA(), TTTrack< T >::rInv(), TTTrack< T >::setFitParNo(), TTTrack< T >::setTrackWordBits(), TTTrack< T >::tanL(), TTTrack< T >::TTTrack(), and TTTrack< T >::z0().
Definition at line 45 of file TTTrack.h.
Referenced by TTTrack< T >::TTTrack().
Definition at line 39 of file TTTrack.h.
Referenced by TTTrack< T >::chi2(), TTTrack< T >::chi2Red(), TTTrack< T >::setTrackWordBits(), and TTTrack< T >::TTTrack().
Definition at line 35 of file TTTrack.h.
Referenced by TTTrack< T >::d0().
Definition at line 34 of file TTTrack.h.
Referenced by TTTrack< T >::eta().
Definition at line 41 of file TTTrack.h.
Referenced by TTTrack< T >::setTrackWordBits(), and TTTrack< T >::TTTrack().
|
private |
Definition at line 29 of file TTTrack.h.
Referenced by TTTrack< T >::momentum(), TTTrack< T >::setTrackWordBits(), and TTTrack< T >::TTTrack().
Definition at line 32 of file TTTrack.h.
Referenced by TTTrack< T >::phi().
Definition at line 37 of file TTTrack.h.
Referenced by TTTrack< T >::getSector(), TTTrack< T >::PhiSector(), and TTTrack< T >::TTTrack().
|
private |
Definition at line 30 of file TTTrack.h.
Referenced by TTTrack< T >::POCA(), TTTrack< T >::setTrackWordBits(), and TTTrack< T >::TTTrack().
Definition at line 31 of file TTTrack.h.
Referenced by TTTrack< T >::rInv(), TTTrack< T >::setTrackWordBits(), and TTTrack< T >::TTTrack().
Definition at line 38 of file TTTrack.h.
Referenced by TTTrack< T >::getStubPtConsistency(), TTTrack< T >::setStubPtConsistency(), TTTrack< T >::setTrackWordBits(), and TTTrack< T >::TTTrack().
|
private |
Data members.
Definition at line 28 of file TTTrack.h.
Referenced by TTTrack< T >::chi2Red(), TTTrack< T >::getStubRefs(), TTTrack< T >::print(), and TTTrack< T >::TTTrack().
Definition at line 33 of file TTTrack.h.
Referenced by TTTrack< T >::tanL().
Definition at line 44 of file TTTrack.h.
Referenced by TTTrack< T >::TrackSeed(), and TTTrack< T >::TTTrack().
Definition at line 36 of file TTTrack.h.
Referenced by TTTrack< T >::z0().