|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef TRIGINDETANALYSIS_TRACKROI_H
16 #define TRIGINDETANALYSIS_TRACKROI_H
31 class Roi :
public TObject {
50 void addTracks(
const std::vector<TIDA::Track*>& trackp);
68 const std::vector<double>&
user()
const {
return m_user; }
100 s <<
"\tRoi " <<
r.roi();
101 for (
unsigned i=0 ;
i<
r.tracks().
size() ;
i++ )
s <<
"\n\t\t\t" <<
r.tracks()[
i];
102 for (
unsigned i=0 ;
i<
r.user().
size() ;
i++ )
s <<
"\n\t\t\t" <<
r.user()[
i];
103 for (
unsigned i=0 ;
i<
r.objects().
size() ;
i++ )
s <<
"\n\t\t\t" <<
r.objects()[
i];
104 s <<
"\tvertices: " <<
r.vertices().size();
105 for (
unsigned i=0 ;
i<
r.vertices().
size() ;
i++ )
s <<
"\n\t\t\t" <<
r.vertices()[
i];
110 #endif // TRIGINDETANALYSIS_TRACKROI_H
const TIDARoiDescriptor & roi() const
access the roi information
void addObject(const TrackTrigObject &o)
const std::vector< double > & user() const
access the user data
void addTracks(const std::vector< TIDA::Track > &tracks)
accessors for the track vector
Describes the Region of Ineterest geometry It has basically 8 parameters.
void addObjects(const std::vector< TrackTrigObject > &ob)
std::vector< TIDA::Track > m_tracks
roi parameters
std::vector< TIDA::Vertex > m_vertices
tracks in this roi
void clear()
clean out everything
std::vector< double > & user()
std::vector< TrackTrigObject > & objects()
std::vector< double > m_user
vertices
const std::vector< TIDA::Track > & tracks() const
void addUserData(const std::vector< double > &user)
const std::vector< TIDA::Vertex > & vertices() const
access the vertices
std::vector< TIDA::Track > & tracks()
TIDARoiDescriptor & roi()
void addVertex(const TIDA::Vertex &v)
std::vector< TIDA::Vertex > & vertices()
void addVertices(const std::vector< TIDA::Vertex > &v)
const std::vector< TrackTrigObject > & objects() const
access the generic objects
std::vector< TrackTrigObject > m_objects
user vector
std::ostream & operator<<(std::ostream &s, const TIDA::Roi &r)