AliPhysics  ff07904 (ff07904)
AliEmcalCorrectionCellContainer Class Reference

Wrapper around cells objects for the EMCal Correction Task. More...

#include <AliEmcalCorrectionTask.h>

Public Member Functions

 AliEmcalCorrectionCellContainer ()
 
 AliEmcalCorrectionCellContainer (std::string branchName, std::string name, std::string branchToCopyName, bool isEmbedded)
 
virtual ~AliEmcalCorrectionCellContainer ()
 
std::string GetBranchName () const
 Get the name of the cells branch (NOT the same as the name!) More...
 
std::string GetName () const
 Get the name of the cells object (NOT the same as the branch!) More...
 
bool GetIsEmbedding () const
 True if the cells are located in the event that is being embedded. More...
 
AliVCaloCells * GetCells () const
 Pointer to the actual CaloCells object. More...
 
void SetBranchName (std::string branchName)
 Set the name of the cells branch (NOT the same as the name!) More...
 
void SetName (std::string name)
 Set the name of the cells object (NOT the same as the branch!) More...
 
void SetIsEmbedding (bool isEmbedded)
 Set to true if the cells are located in the event that is being embedded. More...
 
void SetCells (AliVCaloCells *cells)
 Sets the Pointer to the actual CaloCells object. More...
 

Protected Attributes

std::string fBranchName
 Name of the cells branch. More...
 
std::string fName
 Name of the cells object. More...
 
bool fIsEmbedding
 Whether the cells should be taken from an external file (embedded) More...
 
AliVCaloCells * fCells
 ! The actual cells object associated with this infomration More...
 

Detailed Description

Wrapper around cells objects for the EMCal Correction Task.

This class is a container around the cells collections that are used in the EMCal Correction Task. In particular, it keeps track of the cells, the associated names, as well as whether the cells are embedded.

Note that because the CaloCells objects are techincally wrappers around the cells collections, this is something of a wrapper around a wrapper. However, due to the difficultly of modifying the base classes, this very simple class will suffice for the EMCal Correction Task.

Author
Raymond Ehlers raymo.nosp@m.nd.e.nosp@m.hlers.nosp@m.@yal.nosp@m.e.edu, Yale University
James Mulligan james.nosp@m..mul.nosp@m.ligan.nosp@m.@yal.nosp@m.e.edu, Yale University
Date
Nov 8, 2016

Definition at line 275 of file AliEmcalCorrectionTask.h.

Constructor & Destructor Documentation

AliEmcalCorrectionCellContainer::AliEmcalCorrectionCellContainer ( )
inline

Definition at line 277 of file AliEmcalCorrectionTask.h.

AliEmcalCorrectionCellContainer::AliEmcalCorrectionCellContainer ( std::string  branchName,
std::string  name,
std::string  branchToCopyName,
bool  isEmbedded 
)
inline

Definition at line 283 of file AliEmcalCorrectionTask.h.

virtual AliEmcalCorrectionCellContainer::~AliEmcalCorrectionCellContainer ( )
inlinevirtual

Definition at line 289 of file AliEmcalCorrectionTask.h.

Member Function Documentation

std::string AliEmcalCorrectionCellContainer::GetBranchName ( ) const
inline

Get the name of the cells branch (NOT the same as the name!)

Definition at line 292 of file AliEmcalCorrectionTask.h.

Referenced by AliEmcalCorrectionTask::AddContainersToComponent(), and AliEmcalCorrectionTask::SetCellsObjectInCellContainerBasedOnProperties().

AliVCaloCells* AliEmcalCorrectionCellContainer::GetCells ( ) const
inline

Pointer to the actual CaloCells object.

Definition at line 298 of file AliEmcalCorrectionTask.h.

Referenced by AliEmcalCorrectionTask::AddContainersToComponent().

bool AliEmcalCorrectionCellContainer::GetIsEmbedding ( ) const
inline

True if the cells are located in the event that is being embedded.

Definition at line 296 of file AliEmcalCorrectionTask.h.

Referenced by AliEmcalCorrectionTask::AddContainersToComponent(), and AliEmcalCorrectionTask::SetCellsObjectInCellContainerBasedOnProperties().

std::string AliEmcalCorrectionCellContainer::GetName ( ) const
inline

Get the name of the cells object (NOT the same as the branch!)

Definition at line 294 of file AliEmcalCorrectionTask.h.

Referenced by AliEmcalCorrectionTask::AddContainersToComponent(), and AliEmcalCorrectionTask::SetCellsObjectInCellContainerBasedOnProperties().

void AliEmcalCorrectionCellContainer::SetBranchName ( std::string  branchName)
inline

Set the name of the cells branch (NOT the same as the name!)

Definition at line 301 of file AliEmcalCorrectionTask.h.

Referenced by AliEmcalCorrectionTask::SetupCellsInfo().

void AliEmcalCorrectionCellContainer::SetCells ( AliVCaloCells *  cells)
inline

Sets the Pointer to the actual CaloCells object.

Definition at line 307 of file AliEmcalCorrectionTask.h.

Referenced by AliEmcalCorrectionTask::SetCellsObjectInCellContainerBasedOnProperties().

void AliEmcalCorrectionCellContainer::SetIsEmbedding ( bool  isEmbedded)
inline

Set to true if the cells are located in the event that is being embedded.

Definition at line 305 of file AliEmcalCorrectionTask.h.

Referenced by AliEmcalCorrectionTask::SetupCellsInfo().

void AliEmcalCorrectionCellContainer::SetName ( std::string  name)
inline

Set the name of the cells object (NOT the same as the branch!)

Definition at line 303 of file AliEmcalCorrectionTask.h.

Referenced by AliEmcalCorrectionTask::SetupCellsInfo().

Member Data Documentation

std::string AliEmcalCorrectionCellContainer::fBranchName
protected

Name of the cells branch.

Definition at line 310 of file AliEmcalCorrectionTask.h.

AliVCaloCells* AliEmcalCorrectionCellContainer::fCells
protected

! The actual cells object associated with this infomration

Definition at line 313 of file AliEmcalCorrectionTask.h.

bool AliEmcalCorrectionCellContainer::fIsEmbedding
protected

Whether the cells should be taken from an external file (embedded)

Definition at line 312 of file AliEmcalCorrectionTask.h.

std::string AliEmcalCorrectionCellContainer::fName
protected

Name of the cells object.

Definition at line 311 of file AliEmcalCorrectionTask.h.


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