NOTE: this is needed even if it seems not. More...
#include <TTCluster.h>
Public Member Functions | |
template<> | |
MeasurementPoint | findAverageLocalCoordinates () const |
Unweighted average local cluster coordinates. More... | |
MeasurementPoint | findAverageLocalCoordinates () const |
template<> | |
MeasurementPoint | findAverageLocalCoordinates () const |
MeasurementPoint | findAverageLocalCoordinatesCentered () const |
template<> | |
MeasurementPoint | findAverageLocalCoordinatesCentered () const |
Unweighted average local cluster coordinates, using center of the strips. More... | |
std::vector< int > | findCols () const |
template<> | |
std::vector< int > | findCols () const |
template<> | |
std::vector< int > | findCols () const |
template<> | |
MeasurementPoint | findHitLocalCoordinates (unsigned int hitIdx) const |
Get hit local coordinates. More... | |
MeasurementPoint | findHitLocalCoordinates (unsigned int hitIdx) const |
template<> | |
MeasurementPoint | findHitLocalCoordinates (unsigned int hitIdx) const |
std::vector< int > | findRows () const |
Rows and columns to get rid of Digi collection. More... | |
template<> | |
std::vector< int > | findRows () const |
Coordinates stored locally. More... | |
template<> | |
std::vector< int > | findRows () const |
template<> | |
unsigned int | findWidth () const |
Implementation of methods of TTCluster. More... | |
unsigned int | findWidth () const |
Cluster width. More... | |
template<> | |
unsigned int | findWidth () const |
Cluster width. More... | |
std::vector< int > | getCols () const |
DetId | getDetId () const |
Detector element. More... | |
std::vector< T > | getHits () const |
Hits in the Cluster. More... | |
std::vector< int > | getRows () const |
unsigned int | getStackMember () const |
std::string | print (unsigned int i=0) const |
Information. More... | |
void | setCoordinates (std::vector< int > a, std::vector< int > b) |
void | setDetId (DetId aDetId) |
void | setHits (std::vector< T > aHits) |
void | setStackMember (unsigned int aStackMember) |
TTCluster () | |
Constructors. More... | |
TTCluster (std::vector< T > aHits, DetId aDetId, unsigned int aStackMember, bool storeLocal) | |
Another Constructor. More... | |
~TTCluster () | |
Destructor. More... | |
Private Attributes | |
std::vector< int > | theCols |
DetId | theDetId |
std::vector< T > | theHits |
Data members. More... | |
std::vector< int > | theRows |
unsigned int | theStackMember |
NOTE: this is needed even if it seems not.
Class to store the L1 Track Trigger clusters.
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.
Definition at line 27 of file TTCluster.h.
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 NOTE: to be used with setSomething(...) methods
Set default data members
Definition at line 92 of file TTCluster.h.
References bscTrigger_cfi::theHits.
TTCluster< T >::TTCluster | ( | std::vector< T > | aHits, |
DetId | aDetId, | ||
unsigned int | aStackMember, | ||
bool | storeLocal | ||
) |
Another Constructor.
Set data members
Definition at line 104 of file TTCluster.h.
References HLT_2024v12_cff::setDetId.
MeasurementPoint TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findAverageLocalCoordinates | ( | ) | const |
Unweighted average local cluster coordinates.
Loop over the hits and calculate the average coordinates
Definition at line 54 of file TTCluster.cc.
References dqmiolumiharvest::j, and bscTrigger_cfi::theHits.
MeasurementPoint TTCluster< T >::findAverageLocalCoordinates | ( | ) | const |
MeasurementPoint TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findAverageLocalCoordinates | ( | ) | const |
MeasurementPoint TTCluster< T >::findAverageLocalCoordinatesCentered | ( | ) | const |
MeasurementPoint TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findAverageLocalCoordinatesCentered | ( | ) | const |
Unweighted average local cluster coordinates, using center of the strips.
Loop over the hits and calculate the average coordinates
Definition at line 83 of file TTCluster.cc.
References dqmiolumiharvest::j, and bscTrigger_cfi::theHits.
std::vector< int > TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findCols | ( | ) | const |
Definition at line 121 of file TTCluster.cc.
References mps_fire::i, groupFilesInBlocks::temp, and bscTrigger_cfi::theHits.
std::vector< int > TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findCols | ( | ) | const |
MeasurementPoint TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findHitLocalCoordinates | ( | unsigned int | hitIdx | ) | const |
Get hit local coordinates.
NOTE in this case, DO NOT add 0.5 to get the center of the pixel
Definition at line 36 of file TTCluster.cc.
References cuy::col, relativeConstraints::empty, and bscTrigger_cfi::theHits.
MeasurementPoint TTCluster< T >::findHitLocalCoordinates | ( | unsigned int | hitIdx | ) | const |
Single hit coordinates Average cluster coordinates
MeasurementPoint TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findHitLocalCoordinates | ( | unsigned int | hitIdx | ) | const |
Single hit coordinates Average cluster coordinates
Rows and columns to get rid of Digi collection.
Operations with coordinates stored locally.
Definition at line 137 of file TTCluster.h.
References groupFilesInBlocks::temp.
std::vector< int > TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findRows | ( | ) | const |
Coordinates stored locally.
Definition at line 111 of file TTCluster.cc.
References mps_fire::i, groupFilesInBlocks::temp, and bscTrigger_cfi::theHits.
std::vector< int > TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findRows | ( | ) | const |
unsigned int TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findWidth | ( | ) | const |
Implementation of methods of TTCluster.
Here, in the source file, the methods which do depend on the specific type <T> that can fit the template.
this is only the actual size in RPhi
This takes care of 1-Pixel clusters
Definition at line 15 of file TTCluster.cc.
References funct::abs(), mps_fire::i, and bscTrigger_cfi::theHits.
unsigned int TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findWidth | ( | ) | const |
Cluster width.
Hits in the Cluster.
Data members: getABC( ... ) Helper methods: findABC( ... )
Definition at line 40 of file TTCluster.h.
References TTCluster< T >::theHits.
Information.
Definition at line 156 of file TTCluster.h.
References mps_fire::i, dqmiolumiharvest::j, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_QueryRunRegistry::string, and bscTrigger_cfi::theHits.
|
inline |
Definition at line 52 of file TTCluster.h.
References a, b, TTCluster< T >::theCols, and TTCluster< T >::theRows.
Definition at line 78 of file TTCluster.h.
Referenced by TTCluster< T >::getCols(), and TTCluster< T >::setCoordinates().
Definition at line 74 of file TTCluster.h.
Referenced by TTCluster< T >::getDetId(), and TTCluster< T >::setDetId().
Data members.
Definition at line 73 of file TTCluster.h.
Referenced by TTCluster< T >::getHits(), and TTCluster< T >::setHits().
Definition at line 77 of file TTCluster.h.
Referenced by TTCluster< T >::getRows(), and TTCluster< T >::setCoordinates().
Definition at line 75 of file TTCluster.h.
Referenced by TTCluster< T >::getStackMember(), and TTCluster< T >::setStackMember().