#include <CaloSlaveSD.h>
Public Types | |
typedef std::vector< PCaloHit > | Collection |
typedef Collection::const_iterator | const_iterator |
typedef Collection::iterator | iterator |
Public Member Functions | |
virtual const_iterator | begin () |
CaloSlaveSD (std::string) | |
virtual void | Clean () |
virtual const_iterator | end () |
virtual bool | format () |
Collection & | hits () |
virtual void | Initialize () |
std::string | name () const |
virtual bool | processHits (uint32_t, double, double, double, int, uint16_t depth=0) |
virtual void | ReserveMemory (unsigned int size) |
std::string | type () |
virtual | ~CaloSlaveSD () |
Protected Attributes | |
Collection | hits_ |
Private Attributes | |
std::string | name_ |
Definition at line 16 of file CaloSlaveSD.h.
typedef std::vector<PCaloHit> CaloSlaveSD::Collection |
Definition at line 19 of file CaloSlaveSD.h.
typedef Collection::const_iterator CaloSlaveSD::const_iterator |
Definition at line 21 of file CaloSlaveSD.h.
typedef Collection::iterator CaloSlaveSD::iterator |
Definition at line 20 of file CaloSlaveSD.h.
CaloSlaveSD::CaloSlaveSD | ( | std::string | n | ) |
CaloSlaveSD::~CaloSlaveSD | ( | ) | [virtual] |
Definition at line 19 of file CaloSlaveSD.cc.
{}
virtual const_iterator CaloSlaveSD::begin | ( | void | ) | [inline, virtual] |
void CaloSlaveSD::Clean | ( | ) | [virtual] |
Definition at line 43 of file CaloSlaveSD.cc.
References hits_, LogDebug, and name_.
Referenced by CaloSD::fillHits().
{ LogDebug("HitBuildIndo") << "CaloSlaveSD " << name_ << " cleaning the collection"; Collection().swap(hits_); }
virtual const_iterator CaloSlaveSD::end | ( | void | ) | [inline, virtual] |
bool CaloSlaveSD::format | ( | ) | [virtual] |
Collection& CaloSlaveSD::hits | ( | ) | [inline] |
Definition at line 29 of file CaloSlaveSD.h.
References hits_.
Referenced by CaloSD::fillHits().
{ return hits_; }
void CaloSlaveSD::Initialize | ( | ) | [virtual] |
Definition at line 21 of file CaloSlaveSD.cc.
References hits_, LogDebug, and name_.
Referenced by CaloSD::clearHits().
std::string CaloSlaveSD::name | ( | void | ) | const [inline] |
Definition at line 26 of file CaloSlaveSD.h.
References name_.
Referenced by CaloSD::fillHits().
{ return name_; }
bool CaloSlaveSD::processHits | ( | uint32_t | unitID, |
double | eDepEM, | ||
double | eDepHad, | ||
double | tSlice, | ||
int | tkID, | ||
uint16_t | depth = 0 |
||
) | [virtual] |
Definition at line 34 of file CaloSlaveSD.cc.
References hits_, LogDebug, and name_.
Referenced by CaloSD::saveHit().
void CaloSlaveSD::ReserveMemory | ( | unsigned int | size | ) | [virtual] |
Definition at line 50 of file CaloSlaveSD.cc.
References hits_, and findQualityFiles::size.
Referenced by CaloSD::update().
std::string CaloSlaveSD::type | ( | ) | [inline] |
Definition at line 30 of file CaloSlaveSD.h.
{ return "calo"; }
Collection CaloSlaveSD::hits_ [protected] |
Definition at line 37 of file CaloSlaveSD.h.
Referenced by begin(), Clean(), end(), format(), hits(), Initialize(), processHits(), and ReserveMemory().
std::string CaloSlaveSD::name_ [private] |
Definition at line 40 of file CaloSlaveSD.h.
Referenced by Clean(), format(), Initialize(), name(), and processHits().