ATLAS Offline Software
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
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; }

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

◆ init()

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 }

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

◆ m_decayTopology

VertexNode* VP1BPhysConvertor::m_decayTopology {}
private

Definition at line 108 of file VP1BPhysConvertor.h.

◆ m_entry

int VP1BPhysConvertor::m_entry {}
private

Definition at line 114 of file VP1BPhysConvertor.h.

◆ m_outFile

TFile* VP1BPhysConvertor::m_outFile {}
private

Definition at line 109 of file VP1BPhysConvertor.h.

◆ m_tree

TTree* VP1BPhysConvertor::m_tree {}
private

Definition at line 110 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 VP1BPhysConvertor::runNum {}
private

Definition at line 112 of file VP1BPhysConvertor.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>* VP1BPhysConvertor::vtx_daughters {}
private

Definition at line 113 of file VP1BPhysConvertor.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
Br::track_refitted_px
std::vector< double > * track_refitted_px
Definition: VP1BPhysConvertor.h:41
VP1BPhysConvertor::vtx_daughters
std::vector< int > * vtx_daughters
Definition: VP1BPhysConvertor.h:113
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