ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TrackTrigObject Class Reference

#include <TrackTrigObject.h>

Inheritance diagram for TrackTrigObject:
Collaboration diagram for TrackTrigObject:

Public Member Functions

 TrackTrigObject ()
 
 TrackTrigObject (double eta, double phi, double pt, double z0, int type, unsigned long id=0)
 just for root, don't want this really More...
 
 TrackTrigObject (const TIDA::Track &t, int type, unsigned long id=0)
 
virtual ~TrackTrigObject ()
 
double eta () const
 
double phi () const
 
double pt () const
 
double z0 () const
 
int type () const
 
unsigned long id () const
 
void addChild (unsigned long id)
 
const std::vector< unsigned long > & children () const
 
std::vector< unsigned long > children ()
 

Private Member Functions

 ClassDef (TrackTrigObject, 1)
 

Private Attributes

double m_eta
 parameters More...
 
double m_phi
 
double m_pt
 
double m_z0
 
int m_type
 generic type information More...
 
unsigned long m_id
 identifier More...
 
std::vector< unsigned long > m_children
 identifiers of children More...
 

Detailed Description

Definition at line 21 of file TrackTrigObject.h.

Constructor & Destructor Documentation

◆ TrackTrigObject() [1/3]

TrackTrigObject::TrackTrigObject ( )
inline

Definition at line 25 of file TrackTrigObject.h.

25 { }

◆ TrackTrigObject() [2/3]

TrackTrigObject::TrackTrigObject ( double  eta,
double  phi,
double  pt,
double  z0,
int  type,
unsigned long  id = 0 
)

just for root, don't want this really

◆ TrackTrigObject() [3/3]

TrackTrigObject::TrackTrigObject ( const TIDA::Track t,
int  type,
unsigned long  id = 0 
)

Definition at line 21 of file TrackTrigObject.cxx.

22  :
23  m_eta(t.eta()), m_phi(t.phi()), m_pt(t.pT()), m_z0(t.z0()), m_type(type), m_id(id)
24 { }

◆ ~TrackTrigObject()

virtual TrackTrigObject::~TrackTrigObject ( )
inlinevirtual

Definition at line 32 of file TrackTrigObject.h.

32 { }

Member Function Documentation

◆ addChild()

void TrackTrigObject::addChild ( unsigned long  id)
inline

Definition at line 43 of file TrackTrigObject.h.

43 { m_children.push_back(id); }

◆ children() [1/2]

std::vector<unsigned long> TrackTrigObject::children ( )
inline

Definition at line 46 of file TrackTrigObject.h.

46 { return m_children; }

◆ children() [2/2]

const std::vector<unsigned long>& TrackTrigObject::children ( ) const
inline

Definition at line 45 of file TrackTrigObject.h.

45 { return m_children; }

◆ ClassDef()

TrackTrigObject::ClassDef ( TrackTrigObject  ,
 
)
private

◆ eta()

double TrackTrigObject::eta ( ) const
inline

Definition at line 34 of file TrackTrigObject.h.

34 { return m_eta; }

◆ id()

unsigned long TrackTrigObject::id ( ) const
inline

Definition at line 41 of file TrackTrigObject.h.

41 { return m_id; }

◆ phi()

double TrackTrigObject::phi ( ) const
inline

Definition at line 35 of file TrackTrigObject.h.

35 { return m_phi; }

◆ pt()

double TrackTrigObject::pt ( ) const
inline

Definition at line 36 of file TrackTrigObject.h.

36 { return m_pt; }

◆ type()

int TrackTrigObject::type ( ) const
inline

Definition at line 39 of file TrackTrigObject.h.

39 { return m_type; }

◆ z0()

double TrackTrigObject::z0 ( ) const
inline

Definition at line 37 of file TrackTrigObject.h.

37 { return m_z0; }

Member Data Documentation

◆ m_children

std::vector<unsigned long> TrackTrigObject::m_children
private

identifiers of children

Definition at line 63 of file TrackTrigObject.h.

◆ m_eta

double TrackTrigObject::m_eta
private

parameters

Definition at line 51 of file TrackTrigObject.h.

◆ m_id

unsigned long TrackTrigObject::m_id
private

identifier

Definition at line 60 of file TrackTrigObject.h.

◆ m_phi

double TrackTrigObject::m_phi
private

Definition at line 52 of file TrackTrigObject.h.

◆ m_pt

double TrackTrigObject::m_pt
private

Definition at line 53 of file TrackTrigObject.h.

◆ m_type

int TrackTrigObject::m_type
private

generic type information

Definition at line 57 of file TrackTrigObject.h.

◆ m_z0

double TrackTrigObject::m_z0
private

Definition at line 54 of file TrackTrigObject.h.


The documentation for this class was generated from the following files:
TrackTrigObject::m_type
int m_type
generic type information
Definition: TrackTrigObject.h:57
TrackTrigObject::m_children
std::vector< unsigned long > m_children
identifiers of children
Definition: TrackTrigObject.h:63
TrackTrigObject::m_pt
double m_pt
Definition: TrackTrigObject.h:53
TrackTrigObject::m_phi
double m_phi
Definition: TrackTrigObject.h:52
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
TrackTrigObject::m_id
unsigned long m_id
identifier
Definition: TrackTrigObject.h:60
TrackTrigObject::m_z0
double m_z0
Definition: TrackTrigObject.h:54
TrackTrigObject::m_eta
double m_eta
parameters
Definition: TrackTrigObject.h:51
TrackTrigObject::type
int type() const
Definition: TrackTrigObject.h:39