14 #ifndef L1_TRACK_TRIGGER_CLUSTER_FORMAT_H 15 #define L1_TRACK_TRIGGER_CLUSTER_FORMAT_H 31 TTCluster(std::vector<T> aHits,
DetId aDetId,
unsigned int aStackMember,
bool storeLocal);
103 template <
typename T>
118 template <
typename T>
129 unsigned int hitIdx)
const;
136 template <
typename T>
138 std::vector<int>
temp;
142 template <
typename T>
144 std::vector<int>
temp;
155 template <
typename T>
158 for (
unsigned int j = 0;
j !=
i; ++
j) {
163 output << padding <<
"TTCluster:\n";
170 template <
typename T>
171 std::ostream& operator<<(std::ostream& os, const TTCluster<T>& aTTCluster) {
172 return (os << aTTCluster.print());
void setStackMember(unsigned int aStackMember)
void setDetId(DetId aDetId)
MeasurementPoint findHitLocalCoordinates(unsigned int hitIdx) const
DetId getDetId() const
Detector element.
std::vector< int > getCols() const
std::vector< int > findCols() const
constexpr uint32_t rawId() const
get the raw id
std::vector< int > findRows() const
Rows and columns to get rid of Digi collection.
void setCoordinates(std::vector< int > a, std::vector< int > b)
std::vector< int > theRows
std::vector< T > theHits
Data members.
unsigned int findWidth() const
Cluster width.
std::vector< int > theCols
std::string print(unsigned int i=0) const
Information.
MeasurementPoint findAverageLocalCoordinatesCentered() const
void setHits(std::vector< T > aHits)
NOTE: this is needed even if it seems not.
MeasurementPoint findAverageLocalCoordinates() const
std::vector< T > getHits() const
Hits in the Cluster.
unsigned int getStackMember() const
unsigned int theStackMember
std::vector< int > getRows() const