Class to store the L1 Track Trigger stubs. More...
#include <TTStub.h>
Public Member Functions | |
void | addClusterRef (edm::Ref< edmNew::DetSetVector< TTCluster< T > >, TTCluster< T > > aTTCluster) |
Add a cluster reference, depending on which stack member it is on (inner = 0, outer = 1) More... | |
double | bendBE () const |
BendBE(): In FULL-STRIP units! Reduced resolution from BE boards. Rename of getHardwareBend() More... | |
double | bendFE () const |
BendFE(): In FULL-STRIP units from FE! Rename of getTriggerBend() More... | |
double | bendOffset () const |
const edm::Ref< edmNew::DetSetVector< TTCluster< T > >, TTCluster< T > > & | clusterRef (unsigned int hitStackMember) const |
Clusters composing the Stub – see https://twiki.cern.ch/twiki/bin/viewauth/CMS/SLHCTrackerTriggerSWTools#TTCluster. More... | |
DetId | getDetId () const |
Detector element. More... | |
double | innerClusterPosition () const |
bool | moduleTypePS () const |
check if a PS module More... | |
std::string | print (unsigned int i=0) const |
Print Stub information for debugging purposes. More... | |
double | rawBend () const |
Trigger info. More... | |
void | setBendBE (float aBend) |
setBendBE(): In HALF-STRIP units! Reduced resolution in BE boards. Rename of setHardwareBend() More... | |
void | setBendOffset (int anOffset) |
void | setDetId (DetId aDetId) |
void | setModuleTypePS (bool isPSModule) |
set whether this is a PS module or not; More... | |
void | setRawBend (int aDisplacement) |
TTStub () | |
Constructors. More... | |
TTStub (DetId aDetId) | |
Another Constructor using a given DetId. More... | |
~TTStub () | |
Destructor. More... | |
Private Attributes | |
float | theBendBE |
edm::Ref< edmNew::DetSetVector< TTCluster< T > >, TTCluster< T > > | theClusterRef0 |
edm::Ref< edmNew::DetSetVector< TTCluster< T > >, TTCluster< T > > | theClusterRef1 |
DetId | theDetId |
Data members. More... | |
int | theDisplacement |
int | theOffset |
bool | thePSModule |
Static Private Attributes | |
static constexpr float | dummyBend = 999999 |
Class to store the L1 Track Trigger stubs.
After moving from SimDataFormats to DataFormats, the template structure of the class was maintained in order to accomodate any types other than Phase2TrackerDigis 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
Set default data members
Definition at line 125 of file TTStub.h.
Another Constructor using a given DetId.
Set data members
Set default data members
Definition at line 135 of file TTStub.h.
References HLT_2024v14_cff::setDetId.
void TTStub< T >::addClusterRef | ( | edm::Ref< edmNew::DetSetVector< TTCluster< T > >, TTCluster< T > > | aTTCluster | ) |
Add a cluster reference, depending on which stack member it is on (inner = 0, outer = 1)
Definition at line 156 of file TTStub.h.
Referenced by TTStubBuilder< T >::produce().
BendBE(): In FULL-STRIP units! Reduced resolution from BE boards. Rename of getHardwareBend()
Definition at line 211 of file TTStub.h.
BendFE(): In FULL-STRIP units from FE! Rename of getTriggerBend()
Definition at line 203 of file TTStub.h.
Referenced by TTStubBuilder< T >::SortStubsBend().
BendOffset() [rename of getTriggerOffset()]: In FULL strip units! Returns the correction offset calculated while accepting/rejecting the stub Offset is the projection of a straight line from the beam-spot through the innermost hit to the outermost stack member, again in terms of outer member pitch. It is calculated taking the centre of the module at (NROWS/2)-0.5.
const edm::Ref< edmNew::DetSetVector< TTCluster< T > >, TTCluster< T > > & TTStub< T >::clusterRef | ( | unsigned int | hitStackMember | ) | const |
Clusters composing the Stub – see https://twiki.cern.ch/twiki/bin/viewauth/CMS/SLHCTrackerTriggerSWTools#TTCluster.
Data members: aBc( ... ) Helper methods: findAbc( ... )Returns the permanent references of the cluster in the sensor stack identified by hitStackMember which should be either 0 or 1 for the innermost and outermost sensor, respectively
Definition at line 150 of file TTStub.h.
Referenced by StubKiller::killStub(), tmtt::StubKiller::killStub(), TTStubAlgorithm_official< T >::PatternHitCorrelation(), pTFrom2Stubs::rInvFrom2(), and tmtt::Stub::Stub().
Detector element.
Definition at line 44 of file TTStub.h.
References TTStub< T >::theDetId.
Referenced by StubKiller::killStub(), tmtt::StubKiller::killStub(), StubKiller::killStubInDeadModule(), tmtt::StubKiller::killStubInDeadModule(), and TTStubAlgorithm_official< T >::PatternHitCorrelation().
CBC3-style trigger information for sake of simplicity, these methods are slightly out of the ABC(...)/findABC(...) rule InnerClusterPosition() [rename of getTriggerPosition()]: In FULL strip units! Returns the average local x coordinate of hits in the inner stack member
Definition at line 198 of file TTStub.h.
check if a PS module
Definition at line 194 of file TTStub.h.
Referenced by TTStubAlgorithm_official< T >::PatternHitCorrelation().
Print Stub information for debugging purposes.
Information.
Definition at line 220 of file TTStub.h.
References mps_fire::i, dqmiolumiharvest::j, convertSQLitetoXML_cfg::output, and AlCaHLTBitMon_QueryRunRegistry::string.
Trigger info.
Trigger information; see, e.g., TTStubAlgorithm_official::PatternHitCorrelation for definitions Values are passed back from there via the TTStubBuilder, be careful to choose the right one. In particular note the difference between values passed as "full" strip units (i.e. the strip number or difference between strip numbers) and "half" strip units, which have a 2X finer granularity. RawBend() [rename of getTriggerDisplacement()]: In FULL strip units! Returns the relative displacement between the two cluster centroids, i.e. the difference between average row coordinates in inner and outer stack member, in terms of outer member pitch (if both pitches are the same, this is just the coordinate difference). Flag for rejected stubs: +500 if rejected by FE, +1000 if rejected by CIC chip.
Definition at line 165 of file TTStub.h.
setBendBE(): In HALF-STRIP units! Reduced resolution in BE boards. Rename of setHardwareBend()
Definition at line 185 of file TTStub.h.
Referenced by TTStubBuilder< T >::produce().
setBendOffset() [rename of setTriggerOffset()]: In HALF strip units! Again restricted to builder code.
Definition at line 180 of file TTStub.h.
Referenced by TTStubBuilder< T >::produce().
set whether this is a PS module or not;
Definition at line 190 of file TTStub.h.
Referenced by TTStubBuilder< T >::produce().
setRawBend [rename of setTriggerDisplacement()]: In HALF strip units! Sets relative displacement between the two cluster centroids, as above. Flag for rejected stubs: +500 if rejected by FE, +1000 if rejected by CIC chip. NB: Should probably only be used in TTStubBuilder or very similar.
Definition at line 170 of file TTStub.h.
Referenced by TTStubBuilder< T >::produce().
Data members.
Definition at line 105 of file TTStub.h.
Referenced by TTStub< T >::getDetId(), and TTStub< T >::setDetId().