ATLAS Offline Software
Loading...
Searching...
No Matches
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)
const 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()

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

Definition at line 82 of file VP1BPhysConvertor.h.

82{ return m_daughters; }
std::vector< VertexNode * > m_daughters

◆ GetEntry()

int Br::GetEntry ( int i)
inherited

Definition at line 105 of file VP1BPhysSystem.cxx.

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

◆ init() [1/2]

bool Br::init ( TTree * tree)
inherited

Definition at line 58 of file VP1BPhysSystem.cxx.

58 {
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}
std::vector< double > * neutral_refitted_px
std::vector< double > * track_refitted_pz
std::vector< double > * neutral_refitted_pz
double vtx_xy
double vtx_x
std::vector< unsigned long > * neutral_color
double vtx_xz
double vtx_z
int vtx_mother
std::vector< int > * vtx_daughters
double vtx_xx
std::vector< double > * track_d0
unsigned long vtx_color
std::vector< double > * track_phi
double vtx_y
std::vector< double > * track_pt
std::vector< double > * track_refitted_px
std::vector< double > * neutral_refitted_py
std::vector< double > * track_refitted_py
int runNum
std::vector< double > * track_charge
std::vector< double > * neutral_length
int evtNum
std::vector< double > * track_eta
double vtx_yz
std::vector< double > * track_z0
std::vector< unsigned long > * track_refitted_color
std::vector< int > * neutral_decay
std::vector< unsigned long > * track_color
double vtx_zz
double vtx_yy
TChain * tree

◆ init() [2/2]

void VertexNode::init ( )
private

◆ 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.

88{};

◆ m_mother

VertexNode* VertexNode::m_mother {}
private

Definition at line 87 of file VP1BPhysConvertor.h.

87{};

◆ neutral_color

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

Definition at line 53 of file VP1BPhysConvertor.h.

53{}; //track color

◆ neutral_decay

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

Definition at line 52 of file VP1BPhysConvertor.h.

52{}; //decay vertex

◆ neutral_length

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

Definition at line 51 of file VP1BPhysConvertor.h.

51{}; //length of the track

◆ neutral_refitted_px

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

Definition at line 48 of file VP1BPhysConvertor.h.

48{}; //neutral track momentum

◆ neutral_refitted_py

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

Definition at line 49 of file VP1BPhysConvertor.h.

49{};

◆ neutral_refitted_pz

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

Definition at line 50 of file VP1BPhysConvertor.h.

50{};

◆ 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.

40{};

◆ track_color

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

Definition at line 44 of file VP1BPhysConvertor.h.

44{}; //track color

◆ track_d0

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

Definition at line 38 of file VP1BPhysConvertor.h.

38{};

◆ track_eta

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

Definition at line 36 of file VP1BPhysConvertor.h.

36{};

◆ track_phi

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

Definition at line 37 of file VP1BPhysConvertor.h.

37{};

◆ track_pt

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

Definition at line 35 of file VP1BPhysConvertor.h.

35{}; //track parameters

◆ track_refitted_color

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

Definition at line 45 of file VP1BPhysConvertor.h.

45{}; //refitted momentum color

◆ track_refitted_px

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

Definition at line 41 of file VP1BPhysConvertor.h.

41{}; //refitted momentum

◆ track_refitted_py

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

Definition at line 42 of file VP1BPhysConvertor.h.

42{};

◆ track_refitted_pz

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

Definition at line 43 of file VP1BPhysConvertor.h.

43{};

◆ track_z0

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

Definition at line 39 of file VP1BPhysConvertor.h.

39{};

◆ 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.

32{}; //color of the vertex (for drawing)

◆ 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.

31{}; //index of mother vertex

◆ vtx_x

double Br::vtx_x {}
inherited

Definition at line 22 of file VP1BPhysConvertor.h.

22{}; //vtx position

◆ vtx_xx

double Br::vtx_xx {}
inherited

Definition at line 25 of file VP1BPhysConvertor.h.

25{}; //covariance matrix

◆ vtx_xy

double Br::vtx_xy {}
inherited

Definition at line 28 of file VP1BPhysConvertor.h.

28{};

◆ vtx_xz

double Br::vtx_xz {}
inherited

Definition at line 29 of file VP1BPhysConvertor.h.

29{};

◆ vtx_y

double Br::vtx_y {}
inherited

Definition at line 23 of file VP1BPhysConvertor.h.

23{};

◆ vtx_yy

double Br::vtx_yy {}
inherited

Definition at line 26 of file VP1BPhysConvertor.h.

26{};

◆ vtx_yz

double Br::vtx_yz {}
inherited

Definition at line 30 of file VP1BPhysConvertor.h.

30{};

◆ vtx_z

double Br::vtx_z {}
inherited

Definition at line 24 of file VP1BPhysConvertor.h.

24{};

◆ vtx_zz

double Br::vtx_zz {}
inherited

Definition at line 27 of file VP1BPhysConvertor.h.

27{};

The documentation for this class was generated from the following file: