ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TIDA::Chain Class Reference

#include <TIDAChain.h>

Inheritance diagram for TIDA::Chain:
Collaboration diagram for TIDA::Chain:

Public Member Functions

 Chain ()
 
 Chain (const std::string &name)
 
virtual ~Chain ()
 
const std::string & name () const
 
void addRoi (TIDA::Roi &roi)
 add and roi by root dictionary class More...
 
void addRoi (const TIDARoiDescriptor &roi)
 add roi from TrigInDetAnalysis class More...
 
const std::vector< TIDA::Roi > & rois () const
 get back roi vector More...
 
std::vector< TIDA::Roi > & rois ()
 
unsigned size () const
 number of rois More...
 
void clear ()
 
TIDA::Roiback ()
 
TIDA::Roioperator[] (int i)
 
TIDA::Roiat (int i)
 
const TIDA::Roioperator[] (int i) const
 
const TIDA::Roiat (int i) const
 

Private Attributes

std::string m_name
 
std::vector< TIDA::Roim_roi
 

Detailed Description

Definition at line 28 of file TIDAChain.h.

Constructor & Destructor Documentation

◆ Chain() [1/2]

TIDA::Chain::Chain ( )
inline

Definition at line 32 of file TIDAChain.h.

32 { }

◆ Chain() [2/2]

TIDA::Chain::Chain ( const std::string &  name)
inline

Definition at line 33 of file TIDAChain.h.

33 : m_name(name) { }

◆ ~Chain()

virtual TIDA::Chain::~Chain ( )
virtual

Member Function Documentation

◆ addRoi() [1/2]

void TIDA::Chain::addRoi ( const TIDARoiDescriptor roi)
inline

add roi from TrigInDetAnalysis class

Definition at line 47 of file TIDAChain.h.

47 { m_roi.push_back(TIDA::Roi(roi)); }

◆ addRoi() [2/2]

void TIDA::Chain::addRoi ( TIDA::Roi roi)
inline

add and roi by root dictionary class

Definition at line 44 of file TIDAChain.h.

44 { m_roi.push_back(roi); }

◆ at() [1/2]

TIDA::Roi& TIDA::Chain::at ( int  i)
inline

Definition at line 63 of file TIDAChain.h.

63 { return m_roi.at(i); }

◆ at() [2/2]

const TIDA::Roi& TIDA::Chain::at ( int  i) const
inline

Definition at line 66 of file TIDAChain.h.

66 { return m_roi.at(i); }

◆ back()

TIDA::Roi& TIDA::Chain::back ( )
inline

Definition at line 60 of file TIDAChain.h.

60 { return m_roi.back(); }

◆ clear()

void TIDA::Chain::clear ( )
inline

Definition at line 57 of file TIDAChain.h.

57 { m_roi.clear(); }

◆ name()

const std::string& TIDA::Chain::name ( ) const
inline

Definition at line 38 of file TIDAChain.h.

38 { return m_name; }

◆ operator[]() [1/2]

TIDA::Roi& TIDA::Chain::operator[] ( int  i)
inline

Definition at line 62 of file TIDAChain.h.

62 { return m_roi.at(i); }

◆ operator[]() [2/2]

const TIDA::Roi& TIDA::Chain::operator[] ( int  i) const
inline

Definition at line 65 of file TIDAChain.h.

65 { return m_roi.at(i); }

◆ rois() [1/2]

std::vector<TIDA::Roi>& TIDA::Chain::rois ( )
inline

Definition at line 51 of file TIDAChain.h.

51 { return m_roi; }

◆ rois() [2/2]

const std::vector<TIDA::Roi>& TIDA::Chain::rois ( ) const
inline

get back roi vector

Definition at line 50 of file TIDAChain.h.

50 { return m_roi; }

◆ size()

unsigned TIDA::Chain::size ( ) const
inline

number of rois

Definition at line 54 of file TIDAChain.h.

54 { return m_roi.size(); }

Member Data Documentation

◆ m_name

std::string TIDA::Chain::m_name
private

Definition at line 70 of file TIDAChain.h.

◆ m_roi

std::vector<TIDA::Roi> TIDA::Chain::m_roi
private

Definition at line 71 of file TIDAChain.h.


The documentation for this class was generated from the following file:
TIDA::Chain::name
const std::string & name() const
Definition: TIDAChain.h:38
TIDA::Chain::m_name
std::string m_name
Definition: TIDAChain.h:70
TIDA::Chain::m_roi
std::vector< TIDA::Roi > m_roi
Definition: TIDAChain.h:71
lumiFormat.i
int i
Definition: lumiFormat.py:85
TIDA::Roi
Definition: TIDARoi.h:31