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

#include <VP1BPhysConvertor.h>

Inheritance diagram for VertexNode:
Collaboration diagram for VertexNode:

Public Member Functions

 VertexNode ()
 
 VertexNode (VertexNode *mother)
 
 ~VertexNode ()
 
VertexNodeaddDaughter ()
 
void setVtxPosition (double x, double y, double z)
 
void setVtxError (double xx, double xy, double xz, double yy, double yz, double zz)
 
void setVtxColor (unsigned long color)
 
void addTrack (double px, double py, double pz, double d0, double z0, double charge, unsigned long color, double refPx, double refPy, double refPz, unsigned long refColor)
 
void addTrackPtEtaPhi (double pt, double eta, double phi, double d0, double z0, double charge, unsigned long color, double refPx, double refPy, double refPz, unsigned long refColor)
 
void addNeutralTrack (double px, double py, double pz, unsigned long color)
 
std::vector< VertexNode * > getDaughters ()
 
void clearBranches ()
 
bool init (TTree *tree)
 
int GetEntry (int i)
 

Public Attributes

double vtx_x {}
 
double vtx_y {}
 
double vtx_z {}
 
double vtx_xx {}
 
double vtx_yy {}
 
double vtx_zz {}
 
double vtx_xy {}
 
double vtx_xz {}
 
double vtx_yz {}
 
int vtx_mother {}
 
unsigned long vtx_color {}
 
std::vector< double > * track_pt {}
 
std::vector< double > * track_eta {}
 
std::vector< double > * track_phi {}
 
std::vector< double > * track_d0 {}
 
std::vector< double > * track_z0 {}
 
std::vector< double > * track_charge {}
 
std::vector< double > * track_refitted_px {}
 
std::vector< double > * track_refitted_py {}
 
std::vector< double > * track_refitted_pz {}
 
std::vector< unsigned long > * track_color {}
 
std::vector< unsigned long > * track_refitted_color {}
 
std::vector< double > * neutral_refitted_px {}
 
std::vector< double > * neutral_refitted_py {}
 
std::vector< double > * neutral_refitted_pz {}
 
std::vector< double > * neutral_length {}
 
std::vector< int > * neutral_decay {}
 
std::vector< unsigned long > * neutral_color {}
 
TTree * vp1Filter
 
int evtNum
 
int runNum
 
std::vector< int > * vtx_daughters
 

Private Member Functions

void init ()
 
void copy (Br *br)
 

Private Attributes

VertexNodem_mother {}
 
std::vector< VertexNode * > m_daughters {}
 

Detailed Description

Definition at line 61 of file VP1BPhysConvertor.h.

Constructor & Destructor Documentation

◆ VertexNode() [1/2]

VertexNode::VertexNode ( )

◆ VertexNode() [2/2]

VertexNode::VertexNode ( VertexNode mother)

◆ ~VertexNode()

VertexNode::~VertexNode ( )

Member Function Documentation

◆ addDaughter()

VertexNode* VertexNode::addDaughter ( )

◆ addNeutralTrack()

void VertexNode::addNeutralTrack ( double  px,
double  py,
double  pz,
unsigned long  color 
)

◆ addTrack()

void VertexNode::addTrack ( double  px,
double  py,
double  pz,
double  d0,
double  z0,
double  charge,
unsigned long  color,
double  refPx,
double  refPy,
double  refPz,
unsigned long  refColor 
)

◆ addTrackPtEtaPhi()

void VertexNode::addTrackPtEtaPhi ( double  pt,
double  eta,
double  phi,
double  d0,
double  z0,
double  charge,
unsigned long  color,
double  refPx,
double  refPy,
double  refPz,
unsigned long  refColor 
)

◆ clearBranches()

void Br::clearBranches ( )
inherited

◆ copy()

void Br::copy ( Br br)
privateinherited

◆ getDaughters()

std::vector<VertexNode*> VertexNode::getDaughters ( )
inline

Definition at line 82 of file VP1BPhysConvertor.h.

82 { return m_daughters; }

◆ GetEntry()

int Br::GetEntry ( int  i)
inherited

Definition at line 105 of file VP1BPhysSystem.cxx.

105  {
106  return vp1Filter->GetEntry(i);
107 }

◆ init() [1/2]

void VertexNode::init ( )
private

◆ init() [2/2]

bool Br::init ( TTree *  tree)
inherited

Definition at line 58 of file VP1BPhysSystem.cxx.

58  {
59  vp1Filter = tree;
60  if(tree==nullptr) return false;
61 
62  vp1Filter->SetBranchAddress("evtNum", &evtNum);
63  vp1Filter->SetBranchAddress("runNum", &runNum);
64 
65  vp1Filter->SetBranchAddress("vtx_x", &vtx_x);
66  vp1Filter->SetBranchAddress("vtx_y", &vtx_y);
67  vp1Filter->SetBranchAddress("vtx_z", &vtx_z);
68 
69  vp1Filter->SetBranchAddress("vtx_xx", &vtx_xx);
70  vp1Filter->SetBranchAddress("vtx_yy", &vtx_yy);
71  vp1Filter->SetBranchAddress("vtx_zz", &vtx_zz);
72  vp1Filter->SetBranchAddress("vtx_xy", &vtx_xy);
73  vp1Filter->SetBranchAddress("vtx_xz", &vtx_xz);
74  vp1Filter->SetBranchAddress("vtx_yz", &vtx_yz);
75 
76  vp1Filter->SetBranchAddress("vtx_mother", &vtx_mother);
77  vp1Filter->SetBranchAddress("vtx_color", &vtx_color);
78  vp1Filter->SetBranchAddress("vtx_daughters", &vtx_daughters);
79 
80  //tracks
81  vp1Filter->SetBranchAddress("track_pt", &track_pt );
82  vp1Filter->SetBranchAddress("track_eta", &track_eta );
83  vp1Filter->SetBranchAddress("track_phi", &track_phi );
84  vp1Filter->SetBranchAddress("track_d0", &track_d0 );
85  vp1Filter->SetBranchAddress("track_z0", &track_z0 );
86  vp1Filter->SetBranchAddress("track_charge", &track_charge );
87  vp1Filter->SetBranchAddress("track_refitted_px", &track_refitted_px );
88  vp1Filter->SetBranchAddress("track_refitted_py", &track_refitted_py );
89  vp1Filter->SetBranchAddress("track_refitted_pz", &track_refitted_pz );
90  vp1Filter->SetBranchAddress("track_color", &track_color );
91  vp1Filter->SetBranchAddress("track_refitted_color", &track_refitted_color);
92 
93  //neutral tracks
94  vp1Filter->SetBranchAddress("neutral_refitted_px", &neutral_refitted_px);
95  vp1Filter->SetBranchAddress("neutral_refitted_py", &neutral_refitted_py);
96  vp1Filter->SetBranchAddress("neutral_refitted_pz", &neutral_refitted_pz);
97  vp1Filter->SetBranchAddress("neutral_length", &neutral_length );
98  vp1Filter->SetBranchAddress("neutral_decay", &neutral_decay );
99  vp1Filter->SetBranchAddress("neutral_color", &neutral_color );
100 
101  return true;
102 
103 }

◆ setVtxColor()

void VertexNode::setVtxColor ( unsigned long  color)

◆ setVtxError()

void VertexNode::setVtxError ( double  xx,
double  xy,
double  xz,
double  yy,
double  yz,
double  zz 
)

◆ setVtxPosition()

void VertexNode::setVtxPosition ( double  x,
double  y,
double  z 
)

Member Data Documentation

◆ evtNum

int Br::evtNum
inherited

Definition at line 53 of file VP1BPhysSystem.h.

◆ m_daughters

std::vector<VertexNode*> VertexNode::m_daughters {}
private

Definition at line 88 of file VP1BPhysConvertor.h.

◆ m_mother

VertexNode* VertexNode::m_mother {}
private

Definition at line 87 of file VP1BPhysConvertor.h.

◆ neutral_color

std::vector< unsigned long > * Br::neutral_color {}
inherited

Definition at line 53 of file VP1BPhysConvertor.h.

◆ neutral_decay

std::vector< int > * Br::neutral_decay {}
inherited

Definition at line 52 of file VP1BPhysConvertor.h.

◆ neutral_length

std::vector< double > * Br::neutral_length {}
inherited

Definition at line 51 of file VP1BPhysConvertor.h.

◆ neutral_refitted_px

std::vector< double > * Br::neutral_refitted_px {}
inherited

Definition at line 48 of file VP1BPhysConvertor.h.

◆ neutral_refitted_py

std::vector< double > * Br::neutral_refitted_py {}
inherited

Definition at line 49 of file VP1BPhysConvertor.h.

◆ neutral_refitted_pz

std::vector< double > * Br::neutral_refitted_pz {}
inherited

Definition at line 50 of file VP1BPhysConvertor.h.

◆ runNum

int Br::runNum
inherited

Definition at line 54 of file VP1BPhysSystem.h.

◆ track_charge

std::vector< double > * Br::track_charge {}
inherited

Definition at line 40 of file VP1BPhysConvertor.h.

◆ track_color

std::vector< unsigned long > * Br::track_color {}
inherited

Definition at line 44 of file VP1BPhysConvertor.h.

◆ track_d0

std::vector< double > * Br::track_d0 {}
inherited

Definition at line 38 of file VP1BPhysConvertor.h.

◆ track_eta

std::vector< double > * Br::track_eta {}
inherited

Definition at line 36 of file VP1BPhysConvertor.h.

◆ track_phi

std::vector< double > * Br::track_phi {}
inherited

Definition at line 37 of file VP1BPhysConvertor.h.

◆ track_pt

std::vector< double > * Br::track_pt {}
inherited

Definition at line 35 of file VP1BPhysConvertor.h.

◆ track_refitted_color

std::vector< unsigned long > * Br::track_refitted_color {}
inherited

Definition at line 45 of file VP1BPhysConvertor.h.

◆ track_refitted_px

std::vector< double > * Br::track_refitted_px {}
inherited

Definition at line 41 of file VP1BPhysConvertor.h.

◆ track_refitted_py

std::vector< double > * Br::track_refitted_py {}
inherited

Definition at line 42 of file VP1BPhysConvertor.h.

◆ track_refitted_pz

std::vector< double > * Br::track_refitted_pz {}
inherited

Definition at line 43 of file VP1BPhysConvertor.h.

◆ track_z0

std::vector< double > * Br::track_z0 {}
inherited

Definition at line 39 of file VP1BPhysConvertor.h.

◆ vp1Filter

TTree* Br::vp1Filter
inherited

Definition at line 51 of file VP1BPhysSystem.h.

◆ vtx_color

unsigned long Br::vtx_color {}
inherited

Definition at line 32 of file VP1BPhysConvertor.h.

◆ vtx_daughters

std::vector<int>* Br::vtx_daughters
inherited

Definition at line 68 of file VP1BPhysSystem.h.

◆ vtx_mother

int Br::vtx_mother {}
inherited

Definition at line 31 of file VP1BPhysConvertor.h.

◆ vtx_x

double Br::vtx_x {}
inherited

Definition at line 22 of file VP1BPhysConvertor.h.

◆ vtx_xx

double Br::vtx_xx {}
inherited

Definition at line 25 of file VP1BPhysConvertor.h.

◆ vtx_xy

double Br::vtx_xy {}
inherited

Definition at line 28 of file VP1BPhysConvertor.h.

◆ vtx_xz

double Br::vtx_xz {}
inherited

Definition at line 29 of file VP1BPhysConvertor.h.

◆ vtx_y

double Br::vtx_y {}
inherited

Definition at line 23 of file VP1BPhysConvertor.h.

◆ vtx_yy

double Br::vtx_yy {}
inherited

Definition at line 26 of file VP1BPhysConvertor.h.

◆ vtx_yz

double Br::vtx_yz {}
inherited

Definition at line 30 of file VP1BPhysConvertor.h.

◆ vtx_z

double Br::vtx_z {}
inherited

Definition at line 24 of file VP1BPhysConvertor.h.

◆ vtx_zz

double Br::vtx_zz {}
inherited

Definition at line 27 of file VP1BPhysConvertor.h.


The documentation for this class was generated from the following file:
Br::vtx_x
double vtx_x
Definition: VP1BPhysConvertor.h:22
Br::neutral_refitted_pz
std::vector< double > * neutral_refitted_pz
Definition: VP1BPhysConvertor.h:50
Br::vtx_xy
double vtx_xy
Definition: VP1BPhysConvertor.h:28
Br::track_refitted_py
std::vector< double > * track_refitted_py
Definition: VP1BPhysConvertor.h:42
Br::vtx_yz
double vtx_yz
Definition: VP1BPhysConvertor.h:30
Br::track_charge
std::vector< double > * track_charge
Definition: VP1BPhysConvertor.h:40
Br::vtx_color
unsigned long vtx_color
Definition: VP1BPhysConvertor.h:32
Br::vtx_y
double vtx_y
Definition: VP1BPhysConvertor.h:23
tree
TChain * tree
Definition: tile_monitor.h:30
Br::track_z0
std::vector< double > * track_z0
Definition: VP1BPhysConvertor.h:39
Br::track_color
std::vector< unsigned long > * track_color
Definition: VP1BPhysConvertor.h:44
Br::track_refitted_pz
std::vector< double > * track_refitted_pz
Definition: VP1BPhysConvertor.h:43
Br::evtNum
int evtNum
Definition: VP1BPhysSystem.h:53
Br::vtx_z
double vtx_z
Definition: VP1BPhysConvertor.h:24
VertexNode::m_daughters
std::vector< VertexNode * > m_daughters
Definition: VP1BPhysConvertor.h:88
Br::track_refitted_px
std::vector< double > * track_refitted_px
Definition: VP1BPhysConvertor.h:41
Br::vtx_mother
int vtx_mother
Definition: VP1BPhysConvertor.h:31
Br::neutral_refitted_py
std::vector< double > * neutral_refitted_py
Definition: VP1BPhysConvertor.h:49
lumiFormat.i
int i
Definition: lumiFormat.py:92
Br::vtx_xz
double vtx_xz
Definition: VP1BPhysConvertor.h:29
Br::track_refitted_color
std::vector< unsigned long > * track_refitted_color
Definition: VP1BPhysConvertor.h:45
Br::neutral_decay
std::vector< int > * neutral_decay
Definition: VP1BPhysConvertor.h:52
Br::track_pt
std::vector< double > * track_pt
Definition: VP1BPhysConvertor.h:35
Br::vtx_zz
double vtx_zz
Definition: VP1BPhysConvertor.h:27
Br::vtx_daughters
std::vector< int > * vtx_daughters
Definition: VP1BPhysSystem.h:68
Br::neutral_refitted_px
std::vector< double > * neutral_refitted_px
Definition: VP1BPhysConvertor.h:48
Br::track_phi
std::vector< double > * track_phi
Definition: VP1BPhysConvertor.h:37
Br::track_eta
std::vector< double > * track_eta
Definition: VP1BPhysConvertor.h:36
Br::vtx_yy
double vtx_yy
Definition: VP1BPhysConvertor.h:26
Br::neutral_color
std::vector< unsigned long > * neutral_color
Definition: VP1BPhysConvertor.h:53
Br::track_d0
std::vector< double > * track_d0
Definition: VP1BPhysConvertor.h:38
Br::runNum
int runNum
Definition: VP1BPhysSystem.h:54
Br::vtx_xx
double vtx_xx
Definition: VP1BPhysConvertor.h:25
Br::vp1Filter
TTree * vp1Filter
Definition: VP1BPhysSystem.h:51
Br::neutral_length
std::vector< double > * neutral_length
Definition: VP1BPhysConvertor.h:51