ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::VolumeTreeObject Struct Reference

-> simple helper struct for filling the Volume objects More...

#include <MaterialMapper.h>

Collaboration diagram for Trk::VolumeTreeObject:

Public Member Functions

 VolumeTreeObject (const VolumeTreeObject &)=delete
VolumeTreeObjectoperator= (const VolumeTreeObject &)=delete
 VolumeTreeObject (TString name, TString title)

Public Attributes

float eta
float phi
float path
float pathInX0
float pathInL0
float pathZARho
TTree * tree

Detailed Description

-> simple helper struct for filling the Volume objects

Definition at line 40 of file MaterialMapper.h.

Constructor & Destructor Documentation

◆ VolumeTreeObject() [1/2]

Trk::VolumeTreeObject::VolumeTreeObject ( const VolumeTreeObject & )
delete

◆ VolumeTreeObject() [2/2]

Trk::VolumeTreeObject::VolumeTreeObject ( TString name,
TString title )
inline

Definition at line 52 of file MaterialMapper.h.

53 : eta(0),
54 phi(0.),
55 path(0.),
56 pathInX0(0.),
57 pathInL0(0.),
58 pathZARho(0.),
59 tree(new TTree(name,title))
60 {
61 tree->Branch("Eta", &eta, "eta/F");
62 tree->Branch("Phi", &phi, "phi/F");
63 tree->Branch("Path", &path, "path/F");
64 tree->Branch("PathInX0", &pathInX0, "pathX0/F");
65 tree->Branch("PathInL0", &pathInL0, "pathL0/F");
66 tree->Branch("PathZARho", &pathZARho, "pathZARho/F");
67 }

Member Function Documentation

◆ operator=()

VolumeTreeObject & Trk::VolumeTreeObject::operator= ( const VolumeTreeObject & )
delete

Member Data Documentation

◆ eta

float Trk::VolumeTreeObject::eta

Definition at line 44 of file MaterialMapper.h.

◆ path

float Trk::VolumeTreeObject::path

Definition at line 46 of file MaterialMapper.h.

◆ pathInL0

float Trk::VolumeTreeObject::pathInL0

Definition at line 48 of file MaterialMapper.h.

◆ pathInX0

float Trk::VolumeTreeObject::pathInX0

Definition at line 47 of file MaterialMapper.h.

◆ pathZARho

float Trk::VolumeTreeObject::pathZARho

Definition at line 49 of file MaterialMapper.h.

◆ phi

float Trk::VolumeTreeObject::phi

Definition at line 45 of file MaterialMapper.h.

◆ tree

TTree* Trk::VolumeTreeObject::tree

Definition at line 50 of file MaterialMapper.h.


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