AliPhysics  vAN-20150427 (e6e7aad)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalMCTreeWriter Class Reference

#include <AliEmcalMCTreeWriter.h>

Inheritance diagram for AliEmcalMCTreeWriter:

Classes

struct  TrackInfo
 

Public Member Functions

 AliEmcalMCTreeWriter ()
 
 AliEmcalMCTreeWriter (const char *name)
 
virtual ~AliEmcalMCTreeWriter ()
 
virtual void UserCreateOutputObjects ()
 
virtual Bool_t Run ()
 

Protected Member Functions

double GetClusterEnergy (AliVCluster *clust, Double_t *vpos, Double_t *evec) const
 
void GetShowerShape (AliVCluster *clust, Double_t *vector) const
 
void GetCellEnergies (AliVCluster *clust, TVectorD &cells, TVectorF &indices) const
 
void FindTracks (unsigned int label, std::vector< AliVTrack * > &tracks)
 
void FindClusters (unsigned int label, std::vector< AliVCluster * > &clusters)
 
bool AcceptParticle (const AliVParticle *const particle) const
 

Private Attributes

TTree * fOutputTree
 
TrackInfo fOutputInfo
 Output tree with tracks. More...
 

Detailed Description

Definition at line 21 of file AliEmcalMCTreeWriter.h.

Constructor & Destructor Documentation

AliEmcalMCTreeWriter::AliEmcalMCTreeWriter ( )

Definition at line 26 of file AliEmcalMCTreeWriter.cxx.

AliEmcalMCTreeWriter::AliEmcalMCTreeWriter ( const char *  name)

Definition at line 36 of file AliEmcalMCTreeWriter.cxx.

AliEmcalMCTreeWriter::~AliEmcalMCTreeWriter ( )
virtual

Definition at line 47 of file AliEmcalMCTreeWriter.cxx.

Member Function Documentation

bool AliEmcalMCTreeWriter::AcceptParticle ( const AliVParticle *const  particle) const
protected

Definition at line 228 of file AliEmcalMCTreeWriter.cxx.

Referenced by Run().

void AliEmcalMCTreeWriter::FindClusters ( unsigned int  label,
std::vector< AliVCluster * > &  clusters 
)
protected

Definition at line 193 of file AliEmcalMCTreeWriter.cxx.

Referenced by Run().

void AliEmcalMCTreeWriter::FindTracks ( unsigned int  label,
std::vector< AliVTrack * > &  tracks 
)
protected

Definition at line 178 of file AliEmcalMCTreeWriter.cxx.

Referenced by Run().

void AliEmcalMCTreeWriter::GetCellEnergies ( AliVCluster *  clust,
TVectorD &  cells,
TVectorF &  indices 
) const
protected

Definition at line 218 of file AliEmcalMCTreeWriter.cxx.

Referenced by Run().

double AliEmcalMCTreeWriter::GetClusterEnergy ( AliVCluster *  clust,
Double_t *  vpos,
Double_t *  evec 
) const
protected

Definition at line 165 of file AliEmcalMCTreeWriter.cxx.

Referenced by Run().

void AliEmcalMCTreeWriter::GetShowerShape ( AliVCluster *  clust,
Double_t *  vector 
) const
protected

Definition at line 213 of file AliEmcalMCTreeWriter.cxx.

Referenced by Run().

Bool_t AliEmcalMCTreeWriter::Run ( )
virtual

Definition at line 99 of file AliEmcalMCTreeWriter.cxx.

void AliEmcalMCTreeWriter::UserCreateOutputObjects ( )
virtual

Definition at line 54 of file AliEmcalMCTreeWriter.cxx.

Member Data Documentation

TrackInfo AliEmcalMCTreeWriter::fOutputInfo
private

Output tree with tracks.

Definition at line 73 of file AliEmcalMCTreeWriter.h.

Referenced by Run(), and UserCreateOutputObjects().

TTree* AliEmcalMCTreeWriter::fOutputTree
private

Definition at line 72 of file AliEmcalMCTreeWriter.h.

Referenced by Run(), UserCreateOutputObjects(), and ~AliEmcalMCTreeWriter().


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