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

#include <IntersectionPos.h>

Inheritance diagram for VKalVrtAthena::IntersectionPos_barrel:
Collaboration diagram for VKalVrtAthena::IntersectionPos_barrel:

Public Types

enum  { barrel, endcap }
 

Public Member Functions

 IntersectionPos_barrel (const char *name, const double &r)
 
virtual ~IntersectionPos_barrel ()
 
 IntersectionPos_barrel (const IntersectionPos_barrel &)=delete
 
IntersectionPos_barreloperator= (const IntersectionPos_barrel &)=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 & radius ()
 

Private Attributes

std::string m_name
 
std::vector< double > * m_x
 
std::vector< double > * m_y
 
std::vector< double > * m_z
 
const double m_radius
 

Detailed Description

Definition at line 34 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_barrel() [1/2]

VKalVrtAthena::IntersectionPos_barrel::IntersectionPos_barrel ( const char *  name,
const double &  r 
)

Definition at line 11 of file IntersectionPos.cxx.

12  : m_name ( name ), m_x( new std::vector<double> ), m_y( new std::vector<double> ), m_z( new std::vector<double> ), m_radius(r) {}

◆ ~IntersectionPos_barrel()

VKalVrtAthena::IntersectionPos_barrel::~IntersectionPos_barrel ( )
virtual

Definition at line 13 of file IntersectionPos.cxx.

13 { delete m_x; delete m_y; delete m_z; }

◆ IntersectionPos_barrel() [2/2]

VKalVrtAthena::IntersectionPos_barrel::IntersectionPos_barrel ( const IntersectionPos_barrel )
delete

Member Function Documentation

◆ bec()

int VKalVrtAthena::IntersectionPos_barrel::bec ( )
virtual

Implements VKalVrtAthena::IntersectionPos.

Definition at line 20 of file IntersectionPos.cxx.

20 { return barrel; }

◆ clear()

void VKalVrtAthena::IntersectionPos_barrel::clear ( )
virtual

Implements VKalVrtAthena::IntersectionPos.

Definition at line 14 of file IntersectionPos.cxx.

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

◆ name()

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

Implements VKalVrtAthena::IntersectionPos.

Definition at line 43 of file IntersectionPos.h.

43 { return m_name; }

◆ operator=()

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

◆ radius()

const double& VKalVrtAthena::IntersectionPos_barrel::radius ( )
inline

Definition at line 47 of file IntersectionPos.h.

47 { return m_radius; }

◆ setBranchAddress()

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

Implements VKalVrtAthena::IntersectionPos.

Definition at line 15 of file IntersectionPos.cxx.

15  {
16  t->Branch( Form("%s_Int_%sX", collectionName, m_name.c_str()), &m_x);
17  t->Branch( Form("%s_Int_%sY", collectionName, m_name.c_str()), &m_y);
18  t->Branch( Form("%s_Int_%sZ", collectionName, m_name.c_str()), &m_z);
19  }

◆ x()

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

Implements VKalVrtAthena::IntersectionPos.

Definition at line 44 of file IntersectionPos.h.

44 { return m_x; }

◆ y()

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

Implements VKalVrtAthena::IntersectionPos.

Definition at line 45 of file IntersectionPos.h.

45 { return m_y; }

◆ z()

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

Implements VKalVrtAthena::IntersectionPos.

Definition at line 46 of file IntersectionPos.h.

46 { return m_z; }

Member Data Documentation

◆ m_name

std::string VKalVrtAthena::IntersectionPos_barrel::m_name
private

Definition at line 49 of file IntersectionPos.h.

◆ m_radius

const double VKalVrtAthena::IntersectionPos_barrel::m_radius
private

Definition at line 53 of file IntersectionPos.h.

◆ m_x

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

Definition at line 50 of file IntersectionPos.h.

◆ m_y

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

Definition at line 51 of file IntersectionPos.h.

◆ m_z

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

Definition at line 52 of file IntersectionPos.h.


The documentation for this class was generated from the following files:
beamspotman.r
def r
Definition: beamspotman.py:676
VKalVrtAthena::IntersectionPos_barrel::m_y
std::vector< double > * m_y
Definition: IntersectionPos.h:51
VKalVrtAthena::IntersectionPos_barrel::m_radius
const double m_radius
Definition: IntersectionPos.h:53
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
VKalVrtAthena::IntersectionPos_barrel::m_z
std::vector< double > * m_z
Definition: IntersectionPos.h:52
VKalVrtAthena::IntersectionPos_barrel::m_name
std::string m_name
Definition: IntersectionPos.h:49
VKalVrtAthena::IntersectionPos::endcap
@ endcap
Definition: IntersectionPos.h:29
VKalVrtAthena::IntersectionPos_barrel::name
const std::string & name()
Definition: IntersectionPos.h:43
VKalVrtAthena::IntersectionPos_barrel::m_x
std::vector< double > * m_x
Definition: IntersectionPos.h:50
VKalVrtAthena::IntersectionPos::barrel
@ barrel
Definition: IntersectionPos.h:29