ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
VKalVrtAthena::IntersectionPos_endcap Class Reference

#include <IntersectionPos.h>

Inheritance diagram for VKalVrtAthena::IntersectionPos_endcap:
Collaboration diagram for VKalVrtAthena::IntersectionPos_endcap:

Public Types

enum  { barrel, endcap }
 

Public Member Functions

 IntersectionPos_endcap (const char *name, const double &zpos, const double &rmin, const double &rmax)
 
virtual ~IntersectionPos_endcap ()
 
 IntersectionPos_endcap (const IntersectionPos_endcap &)=delete
 
IntersectionPos_endcapoperator= (const IntersectionPos_endcap &)=delete
 
void clear ()
 
void setBranchAddress (TTree *, const char *collectionName="RecoTrk")
 
int bec ()
 
const std::string & name ()
 
std::vector< double > * x ()
 
std::vector< double > * y ()
 
std::vector< double > * z ()
 
const double & zpos ()
 
const double & rmin ()
 
const double & rmax ()
 

Private Attributes

std::string m_name
 
std::vector< double > * m_x
 
std::vector< double > * m_y
 
std::vector< double > * m_z
 
const double m_zpos
 
const double m_rmin
 
const double m_rmax
 

Detailed Description

Definition at line 58 of file IntersectionPos.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
barrel 
endcap 

Definition at line 29 of file IntersectionPos.h.

29 { barrel, endcap };

Constructor & Destructor Documentation

◆ IntersectionPos_endcap() [1/2]

VKalVrtAthena::IntersectionPos_endcap::IntersectionPos_endcap ( const char *  name,
const double &  zpos,
const double &  rmin,
const double &  rmax 
)

Definition at line 24 of file IntersectionPos.cxx.

25  : m_name ( name ), m_x( new std::vector<double> ), m_y( new std::vector<double> ), m_z( new std::vector<double> ), m_zpos(zpos), m_rmin(rmin), m_rmax(rmax) {}

◆ ~IntersectionPos_endcap()

VKalVrtAthena::IntersectionPos_endcap::~IntersectionPos_endcap ( )
virtual

Definition at line 26 of file IntersectionPos.cxx.

26 { delete m_x; delete m_y; delete m_z; }

◆ IntersectionPos_endcap() [2/2]

VKalVrtAthena::IntersectionPos_endcap::IntersectionPos_endcap ( const IntersectionPos_endcap )
delete

Member Function Documentation

◆ bec()

int VKalVrtAthena::IntersectionPos_endcap::bec ( )
virtual

Implements VKalVrtAthena::IntersectionPos.

Definition at line 33 of file IntersectionPos.cxx.

33 { return endcap; }

◆ clear()

void VKalVrtAthena::IntersectionPos_endcap::clear ( )
virtual

Implements VKalVrtAthena::IntersectionPos.

Definition at line 27 of file IntersectionPos.cxx.

27 { m_x->clear(); m_y->clear(); m_z->clear(); }

◆ name()

const std::string& VKalVrtAthena::IntersectionPos_endcap::name ( )
inlinevirtual

Implements VKalVrtAthena::IntersectionPos.

Definition at line 67 of file IntersectionPos.h.

67 { return m_name; }

◆ operator=()

IntersectionPos_endcap& VKalVrtAthena::IntersectionPos_endcap::operator= ( const IntersectionPos_endcap )
delete

◆ rmax()

const double& VKalVrtAthena::IntersectionPos_endcap::rmax ( )
inline

Definition at line 73 of file IntersectionPos.h.

73 { return m_rmax; }

◆ rmin()

const double& VKalVrtAthena::IntersectionPos_endcap::rmin ( )
inline

Definition at line 72 of file IntersectionPos.h.

72 { return m_rmin; }

◆ setBranchAddress()

void VKalVrtAthena::IntersectionPos_endcap::setBranchAddress ( TTree *  t,
const char *  collectionName = "RecoTrk" 
)
virtual

Implements VKalVrtAthena::IntersectionPos.

Definition at line 28 of file IntersectionPos.cxx.

28  {
29  t->Branch( Form("%s_Int_%sX", collectionName, m_name.c_str()), &m_x);
30  t->Branch( Form("%s_Int_%sY", collectionName, m_name.c_str()), &m_y);
31  t->Branch( Form("%s_Int_%sZ", collectionName, m_name.c_str()), &m_z);
32  }

◆ x()

std::vector<double>* VKalVrtAthena::IntersectionPos_endcap::x ( )
inlinevirtual

Implements VKalVrtAthena::IntersectionPos.

Definition at line 68 of file IntersectionPos.h.

68 { return m_x; }

◆ y()

std::vector<double>* VKalVrtAthena::IntersectionPos_endcap::y ( )
inlinevirtual

Implements VKalVrtAthena::IntersectionPos.

Definition at line 69 of file IntersectionPos.h.

69 { return m_y; }

◆ z()

std::vector<double>* VKalVrtAthena::IntersectionPos_endcap::z ( )
inlinevirtual

Implements VKalVrtAthena::IntersectionPos.

Definition at line 70 of file IntersectionPos.h.

70 { return m_z; }

◆ zpos()

const double& VKalVrtAthena::IntersectionPos_endcap::zpos ( )
inline

Definition at line 71 of file IntersectionPos.h.

71 { return m_zpos; }

Member Data Documentation

◆ m_name

std::string VKalVrtAthena::IntersectionPos_endcap::m_name
private

Definition at line 75 of file IntersectionPos.h.

◆ m_rmax

const double VKalVrtAthena::IntersectionPos_endcap::m_rmax
private

Definition at line 81 of file IntersectionPos.h.

◆ m_rmin

const double VKalVrtAthena::IntersectionPos_endcap::m_rmin
private

Definition at line 80 of file IntersectionPos.h.

◆ m_x

std::vector<double>* VKalVrtAthena::IntersectionPos_endcap::m_x
private

Definition at line 76 of file IntersectionPos.h.

◆ m_y

std::vector<double>* VKalVrtAthena::IntersectionPos_endcap::m_y
private

Definition at line 77 of file IntersectionPos.h.

◆ m_z

std::vector<double>* VKalVrtAthena::IntersectionPos_endcap::m_z
private

Definition at line 78 of file IntersectionPos.h.

◆ m_zpos

const double VKalVrtAthena::IntersectionPos_endcap::m_zpos
private

Definition at line 79 of file IntersectionPos.h.


The documentation for this class was generated from the following files:
VKalVrtAthena::IntersectionPos_endcap::rmax
const double & rmax()
Definition: IntersectionPos.h:73
VKalVrtAthena::IntersectionPos_endcap::m_rmax
const double m_rmax
Definition: IntersectionPos.h:81
VKalVrtAthena::IntersectionPos_endcap::m_rmin
const double m_rmin
Definition: IntersectionPos.h:80
VKalVrtAthena::IntersectionPos_endcap::name
const std::string & name()
Definition: IntersectionPos.h:67
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
VKalVrtAthena::IntersectionPos_endcap::m_x
std::vector< double > * m_x
Definition: IntersectionPos.h:76
VKalVrtAthena::IntersectionPos_endcap::m_zpos
const double m_zpos
Definition: IntersectionPos.h:79
VKalVrtAthena::IntersectionPos_endcap::m_name
std::string m_name
Definition: IntersectionPos.h:75
VKalVrtAthena::IntersectionPos_endcap::zpos
const double & zpos()
Definition: IntersectionPos.h:71
VKalVrtAthena::IntersectionPos::endcap
@ endcap
Definition: IntersectionPos.h:29
VKalVrtAthena::IntersectionPos::barrel
@ barrel
Definition: IntersectionPos.h:29
VKalVrtAthena::IntersectionPos_endcap::rmin
const double & rmin()
Definition: IntersectionPos.h:72
VKalVrtAthena::IntersectionPos_endcap::m_z
std::vector< double > * m_z
Definition: IntersectionPos.h:78
VKalVrtAthena::IntersectionPos_endcap::m_y
std::vector< double > * m_y
Definition: IntersectionPos.h:77