NOTE: this is needed even if it seems not. More...
#include <TTCluster.h>
Public Member Functions | |
template<> | |
MeasurementPoint | findAverageLocalCoordinates () const |
MeasurementPoint | findAverageLocalCoordinates () const |
template<> | |
MeasurementPoint | findAverageLocalCoordinates () const |
std::vector< int > | findCols () const |
template<> | |
std::vector< int > | findCols () const |
template<> | |
std::vector< int > | findCols () const |
template<> | |
MeasurementPoint | findHitLocalCoordinates (unsigned int hitIdx) const |
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 |
template<> | |
std::vector< int > | findRows () const |
template<> | |
unsigned int | findWidth () const |
unsigned int | findWidth () const |
Cluster width. More... | |
template<> | |
unsigned int | findWidth () const |
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.
TTCluster< T >::TTCluster | ( | std::vector< T > | aHits, |
DetId | aDetId, | ||
unsigned int | aStackMember, | ||
bool | storeLocal | ||
) |
Another Constructor.
Set data members
Definition at line 105 of file TTCluster.h.
MeasurementPoint TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findAverageLocalCoordinates | ( | ) | const |
Loop over the hits and calculate the average coordinates
Definition at line 61 of file TTCluster.cc.
References j.
MeasurementPoint TTCluster< T >::findAverageLocalCoordinates | ( | ) | const |
MeasurementPoint TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findAverageLocalCoordinates | ( | ) | const |
std::vector< int > TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findCols | ( | ) | const |
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 |
NOTE in this case, DO NOT add 0.5 to get the center of the pixel
Definition at line 41 of file TTCluster.cc.
References cuy::col, and findQualityFiles::size.
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 141 of file TTCluster.h.
References groupFilesInBlocks::temp.
std::vector< int > TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findRows | ( | ) | const |
std::vector< int > TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findRows | ( | ) | const |
unsigned int TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findWidth | ( | ) | const |
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(), i, and Phase2TrackerDigi::row().
unsigned int TTCluster< edm::Ref< edm::DetSetVector< Phase2TrackerDigi >, Phase2TrackerDigi > >::findWidth | ( | ) | const |
Hits in the Cluster.
Data members: getABC( ... ) Helper methods: findABC( ... )
Definition at line 44 of file TTCluster.h.
References TTCluster< T >::theHits.
Information.
Definition at line 162 of file TTCluster.h.
References i, j, convertSQLitetoXML_cfg::output, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 56 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().