ATLAS Offline Software
Classes | Public Member Functions | Protected Attributes | List of all members
RootExCellWriter< T > Class Template Reference

#include <ActsExCellWriterSvc.h>

Collaboration diagram for RootExCellWriter< T >:

Classes

struct  Config
 
struct  ExtrapolationStep
 

Public Member Functions

 RootExCellWriter (const Config &cfg)
 Constructor. More...
 
 RootExCellWriter ()=delete
 
 RootExCellWriter (const &RootExCellWriter)=delete
 
RootExCellWriteroperator= (const RootExCellWriter &)=delete
 
 ~RootExCellWriter ()
 Destructor; so now you need the rule of three (or five) More...
 
void endRun ()
 End-of-run hook. More...
 
void write (const Acts::ExtrapolationCell< T > &ecell, int eventNum)
 The protected writeT method, called by the WriterT base. More...
 

Protected Attributes

Config m_cfg
 the config class More...
 
std::mutex m_writeMutex
 protect multi-threaded writes More...
 
TFile * m_outputFile {}
 the output file More...
 
TTree * m_outputTree {}
 the output tree More...
 
float m_eta {}
 global eta start More...
 
float m_phi {}
 global phi start More...
 
float m_materialX0 {}
 material in X0 More...
 
float m_materialL0 {}
 material in L0 More...
 
int m_eventNum {}
 
std::vector< float > m_s_positionX
 global position x of the step More...
 
std::vector< float > m_s_positionY
 global position y of the step More...
 
std::vector< float > m_s_positionZ
 global position z of the step More...
 
std::vector< float > m_s_positionR
 global position z of the step More...
 
std::vector< float > m_s_materialX0
 step material X0 More...
 
std::vector< float > m_s_materialL0
 step material L0 More...
 
std::vector< int > m_s_material
 type of the step: material More...
 
std::vector< int > m_s_boundary
 type of the step: boundary More...
 
std::vector< int > m_s_sensitive
 type of the step: sensitive More...
 
std::vector< int > m_s_volumeID
 volume identification More...
 
std::vector< int > m_s_layerID
 layer identification More...
 
std::vector< int > m_s_surfaceID
 surface identification More...
 
std::vector< float > m_s_localposition0
 local position - first coordinate More...
 
std::vector< float > m_s_localposition1
 local position - second coordinate More...
 
int m_hits {}
 number of hits in sensitive material More...
 

Detailed Description

template<class T>
class RootExCellWriter< T >

Definition at line 23 of file ActsExCellWriterSvc.h.

Constructor & Destructor Documentation

◆ RootExCellWriter() [1/3]

template<class T >
RootExCellWriter< T >::RootExCellWriter ( const Config cfg)

Constructor.

Parameters
cfgis the configuration class

◆ RootExCellWriter() [2/3]

template<class T >
RootExCellWriter< T >::RootExCellWriter ( )
delete

◆ RootExCellWriter() [3/3]

template<class T >
RootExCellWriter< T >::RootExCellWriter ( const RootExCellWriter)
delete

◆ ~RootExCellWriter()

template<class T >
RootExCellWriter< T >::~RootExCellWriter ( )

Destructor; so now you need the rule of three (or five)

Member Function Documentation

◆ endRun()

template<class T >
void RootExCellWriter< T >::endRun ( )

End-of-run hook.

◆ operator=()

template<class T >
RootExCellWriter& RootExCellWriter< T >::operator= ( const RootExCellWriter< T > &  )
delete

◆ write()

template<class T >
void RootExCellWriter< T >::write ( const Acts::ExtrapolationCell< T > &  ecell,
int  eventNum 
)

The protected writeT method, called by the WriterT base.

Parameters
[in]ecellsare the celss to be written out

Member Data Documentation

◆ m_cfg

template<class T >
Config RootExCellWriter< T >::m_cfg
protected

the config class

Definition at line 84 of file RootExCellWriter.h.

◆ m_eta

template<class T >
float RootExCellWriter< T >::m_eta {}
protected

global eta start

Definition at line 88 of file RootExCellWriter.h.

◆ m_eventNum

template<class T >
int RootExCellWriter< T >::m_eventNum {}
protected

Definition at line 92 of file RootExCellWriter.h.

◆ m_hits

template<class T >
int RootExCellWriter< T >::m_hits {}
protected

number of hits in sensitive material

Definition at line 109 of file RootExCellWriter.h.

◆ m_materialL0

template<class T >
float RootExCellWriter< T >::m_materialL0 {}
protected

material in L0

Definition at line 91 of file RootExCellWriter.h.

◆ m_materialX0

template<class T >
float RootExCellWriter< T >::m_materialX0 {}
protected

material in X0

Definition at line 90 of file RootExCellWriter.h.

◆ m_outputFile

template<class T >
TFile* RootExCellWriter< T >::m_outputFile {}
protected

the output file

Definition at line 86 of file RootExCellWriter.h.

◆ m_outputTree

template<class T >
TTree* RootExCellWriter< T >::m_outputTree {}
protected

the output tree

Definition at line 87 of file RootExCellWriter.h.

◆ m_phi

template<class T >
float RootExCellWriter< T >::m_phi {}
protected

global phi start

Definition at line 89 of file RootExCellWriter.h.

◆ m_s_boundary

template<class T >
std::vector<int> RootExCellWriter< T >::m_s_boundary
protected

type of the step: boundary

Definition at line 100 of file RootExCellWriter.h.

◆ m_s_layerID

template<class T >
std::vector<int> RootExCellWriter< T >::m_s_layerID
protected

layer identification

Definition at line 103 of file RootExCellWriter.h.

◆ m_s_localposition0

template<class T >
std::vector<float> RootExCellWriter< T >::m_s_localposition0
protected

local position - first coordinate

Definition at line 106 of file RootExCellWriter.h.

◆ m_s_localposition1

template<class T >
std::vector<float> RootExCellWriter< T >::m_s_localposition1
protected

local position - second coordinate

Definition at line 108 of file RootExCellWriter.h.

◆ m_s_material

template<class T >
std::vector<int> RootExCellWriter< T >::m_s_material
protected

type of the step: material

Definition at line 99 of file RootExCellWriter.h.

◆ m_s_materialL0

template<class T >
std::vector<float> RootExCellWriter< T >::m_s_materialL0
protected

step material L0

Definition at line 98 of file RootExCellWriter.h.

◆ m_s_materialX0

template<class T >
std::vector<float> RootExCellWriter< T >::m_s_materialX0
protected

step material X0

Definition at line 97 of file RootExCellWriter.h.

◆ m_s_positionR

template<class T >
std::vector<float> RootExCellWriter< T >::m_s_positionR
protected

global position z of the step

Definition at line 96 of file RootExCellWriter.h.

◆ m_s_positionX

template<class T >
std::vector<float> RootExCellWriter< T >::m_s_positionX
protected

global position x of the step

Definition at line 93 of file RootExCellWriter.h.

◆ m_s_positionY

template<class T >
std::vector<float> RootExCellWriter< T >::m_s_positionY
protected

global position y of the step

Definition at line 94 of file RootExCellWriter.h.

◆ m_s_positionZ

template<class T >
std::vector<float> RootExCellWriter< T >::m_s_positionZ
protected

global position z of the step

Definition at line 95 of file RootExCellWriter.h.

◆ m_s_sensitive

template<class T >
std::vector<int> RootExCellWriter< T >::m_s_sensitive
protected

type of the step: sensitive

Definition at line 101 of file RootExCellWriter.h.

◆ m_s_surfaceID

template<class T >
std::vector<int> RootExCellWriter< T >::m_s_surfaceID
protected

surface identification

Definition at line 104 of file RootExCellWriter.h.

◆ m_s_volumeID

template<class T >
std::vector<int> RootExCellWriter< T >::m_s_volumeID
protected

volume identification

Definition at line 102 of file RootExCellWriter.h.

◆ m_writeMutex

template<class T >
std::mutex RootExCellWriter< T >::m_writeMutex
protected

protect multi-threaded writes

Definition at line 85 of file RootExCellWriter.h.


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