14 #ifndef L1_TRACK_TRIGGER_STUB_FORMAT_H 15 #define L1_TRACK_TRIGGER_STUB_FORMAT_H 21 template<
typename T >
84 template<
typename T >
97 template<
typename T >
111 template<
typename T >
115 template<
typename T >
121 template<
typename T >
124 if(aTTCluster->getStackMember() == 0)
theClusterRef0 = aTTCluster;
125 else if (aTTCluster->getStackMember() == 1)
theClusterRef1 = aTTCluster;
129 template<
typename T >
132 template<
typename T >
135 template<
typename T >
138 template<
typename T >
141 template<
typename T >
144 template<
typename T >
147 template<
typename T >
152 template<
typename T >
155 return this->
getClusterRef(0)->findAverageLocalCoordinates().x();
158 template<
typename T >
167 template<
typename T >
178 template<
typename T >
182 for (
unsigned int j = 0; j !=
i; ++j )
188 output<<padding<<
"TTStub:\n";
194 output <<
", cluster size: " <<
theClusterRef0->getHits().size() <<
'\n';
196 output <<
", cluster size: " <<
theClusterRef1->getHits().size() <<
'\n';
200 template<
typename T >
201 std::ostream& operator << ( std::ostream& os, const TTStub< T >& aTTStub ) {
return ( os << aTTStub.print() ); }
constexpr uint32_t rawId() const
get the raw id
DetId getDetId() const
Detector element.
double getHardwareBend() const
In FULL-STRIP units!
edm::Ref< edmNew::DetSetVector< TTCluster< T > >, TTCluster< T > > theClusterRef0
edm::Ref< edmNew::DetSetVector< TTCluster< T > >, TTCluster< T > > theClusterRef1
void setHardwareBend(float aBend)
In FULL-STRIP units!
void setTriggerDisplacement(int aDisplacement)
In FULL-STRIP units! (hence, not implemented herein)
double getTriggerOffset() const
In HALF-STRIP units!
double getTriggerBend() const
In FULL-STRIP units!
T const * get() const
Returns C++ pointer to the item.
Class to store the L1 Track Trigger stubs.
void setDetId(DetId aDetId)
double getTriggerDisplacement() const
Trigger information.
void setTriggerOffset(int anOffset)
In FULL-STRIP units! (hence, not implemented herein)
NOTE: this is needed even if it seems not.
void addClusterRef(edm::Ref< edmNew::DetSetVector< TTCluster< T > >, TTCluster< T > > aTTCluster)
DetId theDetId
Data members.
std::string print(unsigned int i=0) const
In HALF-STRIP units!
void setRealTriggerOffset(float anOffset)
In FULL-STRIP units! (hence, not implemented herein)
double getRealTriggerOffset() const
In HALF-STRIP units!
double getTriggerPosition() const
In HALF-STRIP units!
const edm::Ref< edmNew::DetSetVector< TTCluster< T > >, TTCluster< T > > & getClusterRef(unsigned int hitIdentifier) const
Clusters composing the Stub.