#include <TrackingSlaveSD.h>
Public Types | |
typedef std::vector< PSimHit > | Collection |
typedef Collection::const_iterator | const_iterator |
Public Member Functions | |
virtual const_iterator | begin () |
virtual const_iterator | end () |
virtual bool | format () |
std::vector< PSimHit > & | hits () |
virtual void | Initialize () |
std::string | name () const |
virtual bool | processHits (const PSimHit &) |
TrackingSlaveSD (std::string) | |
std::string | type () |
virtual | ~TrackingSlaveSD () |
Protected Member Functions | |
void | setTrackId (PSimHit &hit, unsigned int k) |
Protected Attributes | |
std::vector< PSimHit > | hits_ |
Private Attributes | |
std::string | name_ |
Definition at line 11 of file TrackingSlaveSD.h.
typedef std::vector<PSimHit> TrackingSlaveSD::Collection |
Reimplemented in MuonSlaveSD.
Definition at line 14 of file TrackingSlaveSD.h.
typedef Collection::const_iterator TrackingSlaveSD::const_iterator |
Reimplemented in MuonSlaveSD.
Definition at line 15 of file TrackingSlaveSD.h.
TrackingSlaveSD::TrackingSlaveSD | ( | std::string | myName | ) |
TrackingSlaveSD::~TrackingSlaveSD | ( | ) | [virtual] |
Definition at line 17 of file TrackingSlaveSD.cc.
{}
virtual const_iterator TrackingSlaveSD::begin | ( | void | ) | [inline, virtual] |
Reimplemented in MuonSlaveSD.
Definition at line 25 of file TrackingSlaveSD.h.
References hits_.
{ return hits_.begin();}
virtual const_iterator TrackingSlaveSD::end | ( | void | ) | [inline, virtual] |
Reimplemented in MuonSlaveSD.
Definition at line 26 of file TrackingSlaveSD.h.
References hits_.
{ return hits_.end();}
bool TrackingSlaveSD::format | ( | ) | [virtual] |
Reimplemented in MuonSlaveSD.
Definition at line 49 of file TrackingSlaveSD.cc.
std::vector<PSimHit>& TrackingSlaveSD::hits | ( | ) | [inline] |
Definition at line 23 of file TrackingSlaveSD.h.
References hits_.
Referenced by PLTSensitiveDetector::fillHits(), FP420SD::fillHits(), TkAccumulatingSensitiveDetector::fillHits(), MuonSensitiveDetector::fillHits(), TotemSD::fillHits(), and BscSD::fillHits().
{return hits_;}
void TrackingSlaveSD::Initialize | ( | ) | [virtual] |
Definition at line 20 of file TrackingSlaveSD.cc.
References hits_, LogDebug, and name_.
Referenced by PLTSensitiveDetector::clearHits(), TotemSD::clearHits(), FP420SD::clearHits(), TkAccumulatingSensitiveDetector::clearHits(), BscSD::clearHits(), and MuonSensitiveDetector::clearHits().
std::string TrackingSlaveSD::name | ( | void | ) | const [inline] |
Definition at line 22 of file TrackingSlaveSD.h.
References name_.
Referenced by PLTSensitiveDetector::fillHits(), TkAccumulatingSensitiveDetector::fillHits(), FP420SD::fillHits(), MuonSensitiveDetector::fillHits(), TotemSD::fillHits(), BscSD::fillHits(), FP420SD::getNames(), BscSD::getNames(), TkAccumulatingSensitiveDetector::getNames(), and MuonSensitiveDetector::getNames().
{ return name_; }
bool TrackingSlaveSD::processHits | ( | const PSimHit & | ps | ) | [virtual] |
Definition at line 57 of file TrackingSlaveSD.cc.
References hits_, LogDebug, and name_.
Referenced by TotemSD::EndOfEvent(), FP420SD::EndOfEvent(), BscSD::EndOfEvent(), MuonSensitiveDetector::saveHit(), TkAccumulatingSensitiveDetector::sendHit(), and PLTSensitiveDetector::sendHit().
void TrackingSlaveSD::setTrackId | ( | PSimHit & | hit, |
unsigned int | k | ||
) | [protected] |
Definition at line 66 of file TrackingSlaveSD.cc.
References gen::k, and PSimHit::theTrackId.
{ hit.theTrackId = k; }
std::string TrackingSlaveSD::type | ( | ) | [inline] |
Definition at line 24 of file TrackingSlaveSD.h.
{return "tk";}
std::vector<PSimHit> TrackingSlaveSD::hits_ [protected] |
Reimplemented in MuonSlaveSD.
Definition at line 29 of file TrackingSlaveSD.h.
Referenced by begin(), end(), format(), hits(), Initialize(), and processHits().
std::string TrackingSlaveSD::name_ [private] |
Definition at line 32 of file TrackingSlaveSD.h.
Referenced by format(), Initialize(), name(), processHits(), and TrackingSlaveSD().