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

#include <VP1BPhysConvertor.h>

Inheritance diagram for Br:
Collaboration diagram for Br:

Public Member Functions

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 copy (Br *br)
 

Detailed Description

Definition at line 14 of file VP1BPhysConvertor.h.

Member Function Documentation

◆ clearBranches()

void Br::clearBranches ( )

◆ copy()

void Br::copy ( Br br)
private

◆ GetEntry()

int Br::GetEntry ( int  i)

Definition at line 105 of file VP1BPhysSystem.cxx.

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

◆ init()

bool Br::init ( TTree *  tree)

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 }

Member Data Documentation

◆ evtNum

int Br::evtNum

Definition at line 53 of file VP1BPhysSystem.h.

◆ neutral_color

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

Definition at line 53 of file VP1BPhysConvertor.h.

◆ neutral_decay

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

Definition at line 52 of file VP1BPhysConvertor.h.

◆ neutral_length

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

Definition at line 51 of file VP1BPhysConvertor.h.

◆ neutral_refitted_px

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

Definition at line 48 of file VP1BPhysConvertor.h.

◆ neutral_refitted_py

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

Definition at line 49 of file VP1BPhysConvertor.h.

◆ neutral_refitted_pz

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

Definition at line 50 of file VP1BPhysConvertor.h.

◆ runNum

int Br::runNum

Definition at line 54 of file VP1BPhysSystem.h.

◆ track_charge

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

Definition at line 40 of file VP1BPhysConvertor.h.

◆ track_color

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

Definition at line 44 of file VP1BPhysConvertor.h.

◆ track_d0

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

Definition at line 38 of file VP1BPhysConvertor.h.

◆ track_eta

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

Definition at line 36 of file VP1BPhysConvertor.h.

◆ track_phi

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

Definition at line 37 of file VP1BPhysConvertor.h.

◆ track_pt

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

Definition at line 35 of file VP1BPhysConvertor.h.

◆ track_refitted_color

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

Definition at line 45 of file VP1BPhysConvertor.h.

◆ track_refitted_px

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

Definition at line 41 of file VP1BPhysConvertor.h.

◆ track_refitted_py

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

Definition at line 42 of file VP1BPhysConvertor.h.

◆ track_refitted_pz

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

Definition at line 43 of file VP1BPhysConvertor.h.

◆ track_z0

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

Definition at line 39 of file VP1BPhysConvertor.h.

◆ vp1Filter

TTree* Br::vp1Filter

Definition at line 51 of file VP1BPhysSystem.h.

◆ vtx_color

unsigned long Br::vtx_color {}

Definition at line 32 of file VP1BPhysConvertor.h.

◆ vtx_daughters

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

Definition at line 68 of file VP1BPhysSystem.h.

◆ vtx_mother

int Br::vtx_mother {}

Definition at line 31 of file VP1BPhysConvertor.h.

◆ vtx_x

double Br::vtx_x {}

Definition at line 22 of file VP1BPhysConvertor.h.

◆ vtx_xx

double Br::vtx_xx {}

Definition at line 25 of file VP1BPhysConvertor.h.

◆ vtx_xy

double Br::vtx_xy {}

Definition at line 28 of file VP1BPhysConvertor.h.

◆ vtx_xz

double Br::vtx_xz {}

Definition at line 29 of file VP1BPhysConvertor.h.

◆ vtx_y

double Br::vtx_y {}

Definition at line 23 of file VP1BPhysConvertor.h.

◆ vtx_yy

double Br::vtx_yy {}

Definition at line 26 of file VP1BPhysConvertor.h.

◆ vtx_yz

double Br::vtx_yz {}

Definition at line 30 of file VP1BPhysConvertor.h.

◆ vtx_z

double Br::vtx_z {}

Definition at line 24 of file VP1BPhysConvertor.h.

◆ vtx_zz

double Br::vtx_zz {}

Definition at line 27 of file VP1BPhysConvertor.h.


The documentation for this class was generated from the following files:
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
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