ATLAS Offline Software
Loading...
Searching...
No Matches
VP1BPhysConvertor Class Reference

#include <VP1BPhysConvertor.h>

Inheritance diagram for VP1BPhysConvertor:
Collaboration diagram for VP1BPhysConvertor:

Public Member Functions

 VP1BPhysConvertor (VertexNode *decayTopology, const std::string &outFile)
 ~VP1BPhysConvertor ()
 VP1BPhysConvertor (const VP1BPhysConvertor &)=delete
VP1BPhysConvertoroperator= (const VP1BPhysConvertor &)=delete
void fill (int run, int evt)
void save ()
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

Private Member Functions

void initBranches ()
void clear ()
void clear (VertexNode *node)
void fill (VertexNode *node)
int count (VertexNode *node)
void copy (Br *br)

Private Attributes

VertexNodem_decayTopology {}
TFile * m_outFile {}
TTree * m_tree {}
int evtNum {}
int runNum {}
std::vector< int > * vtx_daughters {}
int m_entry {}

Detailed Description

Definition at line 91 of file VP1BPhysConvertor.h.

Constructor & Destructor Documentation

◆ VP1BPhysConvertor() [1/2]

VP1BPhysConvertor::VP1BPhysConvertor ( VertexNode * decayTopology,
const std::string & outFile )

◆ ~VP1BPhysConvertor()

VP1BPhysConvertor::~VP1BPhysConvertor ( )
inline

Definition at line 95 of file VP1BPhysConvertor.h.

95{ delete vtx_daughters; }
std::vector< int > * vtx_daughters

◆ VP1BPhysConvertor() [2/2]

VP1BPhysConvertor::VP1BPhysConvertor ( const VP1BPhysConvertor & )
delete

Member Function Documentation

◆ clear() [1/2]

void VP1BPhysConvertor::clear ( )
private

◆ clear() [2/2]

void VP1BPhysConvertor::clear ( VertexNode * node)
private

◆ clearBranches()

void Br::clearBranches ( )
inherited

◆ copy()

void Br::copy ( Br * br)
privateinherited

◆ count()

int VP1BPhysConvertor::count ( VertexNode * node)
private

◆ fill() [1/2]

void VP1BPhysConvertor::fill ( int run,
int evt )

◆ fill() [2/2]

void VP1BPhysConvertor::fill ( VertexNode * node)
private

◆ 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()

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

◆ initBranches()

void VP1BPhysConvertor::initBranches ( )
private

◆ operator=()

VP1BPhysConvertor & VP1BPhysConvertor::operator= ( const VP1BPhysConvertor & )
delete

◆ save()

void VP1BPhysConvertor::save ( )

Member Data Documentation

◆ evtNum

int VP1BPhysConvertor::evtNum {}
private

Definition at line 111 of file VP1BPhysConvertor.h.

111{};

◆ m_decayTopology

VertexNode* VP1BPhysConvertor::m_decayTopology {}
private

Definition at line 108 of file VP1BPhysConvertor.h.

108{};

◆ m_entry

int VP1BPhysConvertor::m_entry {}
private

Definition at line 114 of file VP1BPhysConvertor.h.

114{};

◆ m_outFile

TFile* VP1BPhysConvertor::m_outFile {}
private

Definition at line 109 of file VP1BPhysConvertor.h.

109{};

◆ m_tree

TTree* VP1BPhysConvertor::m_tree {}
private

Definition at line 110 of file VP1BPhysConvertor.h.

110{};

◆ 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 VP1BPhysConvertor::runNum {}
private

Definition at line 112 of file VP1BPhysConvertor.h.

112{};

◆ 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>* VP1BPhysConvertor::vtx_daughters {}
private

Definition at line 113 of file VP1BPhysConvertor.h.

113{}; //daughter vertices

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