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 | getChi2 (unsigned int nPar=4) const |
Chi2. More... | |
double | getChi2Red (unsigned int nPar=4) const |
Chi2 reduced. More... | |
GlobalVector | getMomentum (unsigned int nPar=4) const |
Track momentum. More... | |
GlobalPoint | getPOCA (unsigned int nPar=4) const |
POCA. More... | |
double | getRInv (unsigned int nPar=4) const |
Track curvature. More... | |
unsigned int | getSector () const |
Sector. More... | |
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... | |
unsigned int | getWedge () const |
bool | hasStubInBarrel (unsigned int aLayer) const |
Additional quality criteria. More... | |
bool | isTheSameAs (TTTrack< T > aTrack) const |
Duplicate identification. More... | |
std::string | print (unsigned int i=0) const |
Information. More... | |
void | setChi2 (double aChi2, unsigned int nPar=5) |
Chi2. More... | |
void | setFitParNo (unsigned int aFitParNo) |
void | setMomentum (GlobalVector aMomentum, unsigned int nPar=5) |
void | setPOCA (GlobalPoint aPOCA, unsigned int nPar=5) |
void | setRInv (double aRInv, unsigned int nPar=5) |
void | setSector (unsigned int aSector) |
void | setStubPtConsistency (double aPtConsistency, unsigned int nPar=5) |
StubPtConsistency. More... | |
void | setStubRefs (std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > aStubs) |
void | setWedge (unsigned int aWedge) |
TTTrack () | |
Constructors. More... | |
TTTrack (std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > aStubs) | |
Another Constructor. More... | |
~TTTrack () | |
Destructor. More... | |
Private Member Functions | |
bool | checkValidArgs (unsigned int nPar) const |
bool | checkValidArgsForSet (unsigned int nPar) const |
Private Attributes | |
double | theChi24Par |
double | theChi25Par |
GlobalVector | theMomentum4Par |
GlobalVector | theMomentum5Par |
GlobalPoint | thePOCA4Par |
GlobalPoint | thePOCA5Par |
double | theRInv4Par |
double | theRInv5Par |
unsigned int | theSector |
double | theStubPtConsistency4Par |
double | theStubPtConsistency5Par |
std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > | theStubRefs |
Data members. More... | |
unsigned int | theWedge |
bool | valid4ParFit |
bool | valid5ParFit |
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 117 of file TTTrack.h.
References TTTrack< T >::theChi24Par, TTTrack< T >::theChi25Par, TTTrack< T >::theMomentum4Par, TTTrack< T >::theMomentum5Par, TTTrack< T >::thePOCA4Par, TTTrack< T >::thePOCA5Par, TTTrack< T >::theRInv4Par, TTTrack< T >::theRInv5Par, TTTrack< T >::theSector, TTTrack< T >::theStubPtConsistency4Par, TTTrack< T >::theStubPtConsistency5Par, TTTrack< T >::theStubRefs, TTTrack< T >::theWedge, TTTrack< T >::valid4ParFit, and TTTrack< T >::valid5ParFit.
TTTrack< T >::TTTrack | ( | std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > | aStubs | ) |
Another Constructor.
Definition at line 138 of file TTTrack.h.
References TTTrack< T >::theChi24Par, TTTrack< T >::theChi25Par, TTTrack< T >::theMomentum4Par, TTTrack< T >::theMomentum5Par, TTTrack< T >::thePOCA4Par, TTTrack< T >::thePOCA5Par, TTTrack< T >::theRInv4Par, TTTrack< T >::theRInv5Par, TTTrack< T >::theSector, TTTrack< T >::theStubPtConsistency4Par, TTTrack< T >::theStubPtConsistency5Par, TTTrack< T >::theStubRefs, TTTrack< T >::theWedge, TTTrack< T >::valid4ParFit, and TTTrack< T >::valid5ParFit.
|
inline |
Definition at line 54 of file TTTrack.h.
Definition at line 455 of file TTTrack.h.
References TTTrack< T >::valid4ParFit, and TTTrack< T >::valid5ParFit.
Referenced by TTTrack< T >::getChi2(), TTTrack< T >::getChi2Red(), TTTrack< T >::getMomentum(), TTTrack< T >::getPOCA(), TTTrack< T >::getRInv(), TTTrack< T >::getStubPtConsistency(), and TTTrack< edm::Ref >::setFitParNo().
Definition at line 477 of file TTTrack.h.
Referenced by TTTrack< T >::setChi2(), TTTrack< edm::Ref >::setFitParNo(), TTTrack< T >::setMomentum(), TTTrack< T >::setPOCA(), TTTrack< T >::setRInv(), and TTTrack< T >::setStubPtConsistency().
Chi2.
Definition at line 301 of file TTTrack.h.
References TTTrack< T >::checkValidArgs(), TTTrack< T >::theChi24Par, and TTTrack< T >::theChi25Par.
Referenced by TTTrack< edm::Ref >::setWedge().
Chi2 reduced.
Definition at line 322 of file TTTrack.h.
References TTTrack< T >::checkValidArgs(), TTTrack< T >::theChi24Par, TTTrack< T >::theChi25Par, and TTTrack< T >::theStubRefs.
Referenced by TTTrack< edm::Ref >::setWedge().
GlobalVector TTTrack< T >::getMomentum | ( | unsigned int | nPar = 4 | ) | const |
Track momentum.
Definition at line 183 of file TTTrack.h.
References TTTrack< T >::checkValidArgs(), TTTrack< T >::theMomentum4Par, and TTTrack< T >::theMomentum5Par.
Referenced by TTTrack< edm::Ref >::setStubRefs().
GlobalPoint TTTrack< T >::getPOCA | ( | unsigned int | nPar = 4 | ) | const |
POCA.
Definition at line 260 of file TTTrack.h.
References TTTrack< T >::checkValidArgs(), TTTrack< T >::thePOCA4Par, and TTTrack< T >::thePOCA5Par.
Referenced by TTTrack< edm::Ref >::setStubRefs().
Track curvature.
Definition at line 223 of file TTTrack.h.
References TTTrack< T >::checkValidArgs(), TTTrack< T >::theRInv4Par, and TTTrack< T >::theRInv5Par.
Referenced by StubPtConsistency::getConsistency(), and TTTrack< edm::Ref >::setStubRefs().
Stub Pt consistency.
Definition at line 364 of file TTTrack.h.
References TTTrack< T >::checkValidArgs(), TTTrack< T >::theStubPtConsistency4Par, and TTTrack< T >::theStubPtConsistency5Par.
Referenced by TTTrack< edm::Ref >::setWedge().
|
inline |
Track components.
Definition at line 53 of file TTTrack.h.
Referenced by StubPtConsistency::getConsistency(), and TTTrack< T >::isTheSameAs().
Additional quality criteria.
Quality criteria: does it have a Stub in a specific Barrel Layer?
Definition at line 411 of file TTTrack.h.
References mps_fire::i, DetId::subdetId(), TTTrack< T >::theStubRefs, and StripSubdetector::TOB.
Referenced by TTTrack< edm::Ref >::setFitParNo().
Duplicate identification.
Take the other stubs
Count shared stubs
Same track if 2 shared stubs
Definition at line 387 of file TTTrack.h.
References TTTrack< T >::getStubRefs(), mps_fire::i, and TTTrack< T >::theStubRefs.
Referenced by TTTrack< edm::Ref >::setFitParNo().
Information.
Definition at line 428 of file TTTrack.h.
References mps_fire::i, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_QueryRunRegistry::string, and TTTrack< T >::theStubRefs.
Referenced by TTTrack< edm::Ref >::setFitParNo().
Chi2.
Definition at line 279 of file TTTrack.h.
References TTTrack< T >::checkValidArgsForSet(), TTTrack< T >::theChi24Par, TTTrack< T >::theChi25Par, TTTrack< T >::valid4ParFit, and TTTrack< T >::valid5ParFit.
Referenced by TTTrack< edm::Ref >::setWedge().
void TTTrack< T >::setMomentum | ( | GlobalVector | aMomentum, |
unsigned int | nPar = 5 |
||
) |
Definition at line 162 of file TTTrack.h.
References TTTrack< T >::checkValidArgsForSet(), TTTrack< T >::theMomentum4Par, TTTrack< T >::theMomentum5Par, TTTrack< T >::valid4ParFit, and TTTrack< T >::valid5ParFit.
Referenced by TTTrack< edm::Ref >::setStubRefs().
void TTTrack< T >::setPOCA | ( | GlobalPoint | aPOCA, |
unsigned int | nPar = 5 |
||
) |
Definition at line 241 of file TTTrack.h.
References TTTrack< T >::checkValidArgsForSet(), TTTrack< T >::thePOCA4Par, TTTrack< T >::thePOCA5Par, TTTrack< T >::valid4ParFit, and TTTrack< T >::valid5ParFit.
Referenced by TTTrack< edm::Ref >::setStubRefs().
Definition at line 203 of file TTTrack.h.
References TTTrack< T >::checkValidArgsForSet(), TTTrack< T >::theRInv4Par, TTTrack< T >::theRInv5Par, TTTrack< T >::valid4ParFit, and TTTrack< T >::valid5ParFit.
Referenced by TTTrack< edm::Ref >::setStubRefs().
void TTTrack< T >::setStubPtConsistency | ( | double | aPtConsistency, |
unsigned int | nPar = 5 |
||
) |
Definition at line 342 of file TTTrack.h.
References TTTrack< T >::checkValidArgsForSet(), TTTrack< T >::theStubPtConsistency4Par, TTTrack< T >::theStubPtConsistency5Par, TTTrack< T >::valid4ParFit, and TTTrack< T >::valid5ParFit.
Referenced by TTTrack< edm::Ref >::setWedge().
|
inline |
Definition at line 55 of file TTTrack.h.
Definition at line 39 of file TTTrack.h.
Referenced by TTTrack< T >::getChi2(), TTTrack< T >::getChi2Red(), TTTrack< T >::setChi2(), and TTTrack< T >::TTTrack().
Definition at line 40 of file TTTrack.h.
Referenced by TTTrack< T >::getChi2(), TTTrack< T >::getChi2Red(), TTTrack< T >::setChi2(), and TTTrack< T >::TTTrack().
|
private |
Definition at line 29 of file TTTrack.h.
Referenced by TTTrack< T >::getMomentum(), TTTrack< T >::setMomentum(), and TTTrack< T >::TTTrack().
|
private |
Definition at line 30 of file TTTrack.h.
Referenced by TTTrack< T >::getMomentum(), TTTrack< T >::setMomentum(), and TTTrack< T >::TTTrack().
|
private |
Definition at line 31 of file TTTrack.h.
Referenced by TTTrack< T >::getPOCA(), TTTrack< T >::setPOCA(), and TTTrack< T >::TTTrack().
|
private |
Definition at line 32 of file TTTrack.h.
Referenced by TTTrack< T >::getPOCA(), TTTrack< T >::setPOCA(), and TTTrack< T >::TTTrack().
Definition at line 33 of file TTTrack.h.
Referenced by TTTrack< T >::getRInv(), TTTrack< T >::setRInv(), and TTTrack< T >::TTTrack().
Definition at line 34 of file TTTrack.h.
Referenced by TTTrack< T >::getRInv(), TTTrack< T >::setRInv(), and TTTrack< T >::TTTrack().
Definition at line 35 of file TTTrack.h.
Referenced by TTTrack< edm::Ref >::getSector(), and TTTrack< T >::TTTrack().
Definition at line 37 of file TTTrack.h.
Referenced by TTTrack< T >::getStubPtConsistency(), TTTrack< T >::setStubPtConsistency(), and TTTrack< T >::TTTrack().
Definition at line 38 of file TTTrack.h.
Referenced by TTTrack< T >::getStubPtConsistency(), TTTrack< T >::setStubPtConsistency(), and TTTrack< T >::TTTrack().
|
private |
Data members.
Definition at line 28 of file TTTrack.h.
Referenced by TTTrack< edm::Ref >::addStubRef(), TTTrack< T >::getChi2Red(), TTTrack< edm::Ref >::getStubRefs(), TTTrack< T >::hasStubInBarrel(), TTTrack< T >::isTheSameAs(), TTTrack< T >::print(), TTTrack< edm::Ref >::setStubRefs(), and TTTrack< T >::TTTrack().
Definition at line 36 of file TTTrack.h.
Referenced by TTTrack< edm::Ref >::getWedge(), and TTTrack< T >::TTTrack().
Definition at line 41 of file TTTrack.h.
Referenced by TTTrack< T >::checkValidArgs(), TTTrack< T >::setChi2(), TTTrack< T >::setMomentum(), TTTrack< T >::setPOCA(), TTTrack< T >::setRInv(), TTTrack< T >::setStubPtConsistency(), and TTTrack< T >::TTTrack().
Definition at line 42 of file TTTrack.h.
Referenced by TTTrack< T >::checkValidArgs(), TTTrack< T >::setChi2(), TTTrack< T >::setMomentum(), TTTrack< T >::setPOCA(), TTTrack< T >::setRInv(), TTTrack< T >::setStubPtConsistency(), and TTTrack< T >::TTTrack().