#include <SimDataFormats/SimHitMaker/interface/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 |
typedef Collection::const_iterator TrackingSlaveSD::const_iterator |
TrackingSlaveSD::TrackingSlaveSD | ( | std::string | myName | ) |
TrackingSlaveSD::~TrackingSlaveSD | ( | ) | [virtual] |
virtual const_iterator TrackingSlaveSD::begin | ( | void | ) | [inline, virtual] |
Reimplemented in MuonSlaveSD.
Definition at line 25 of file TrackingSlaveSD.h.
References hits_.
00025 { return hits_.begin();}
virtual const_iterator TrackingSlaveSD::end | ( | void | ) | [inline, virtual] |
Reimplemented in MuonSlaveSD.
Definition at line 26 of file TrackingSlaveSD.h.
References hits_.
00026 { return hits_.end();}
Reimplemented in MuonSlaveSD.
Definition at line 49 of file TrackingSlaveSD.cc.
References hits_, LogDebug, and name_.
00050 { 00051 00052 LogDebug("HitBuildInfo")<< " TrackingSlaveSD " << name_<< " formatting " << hits_.size() << " hits."; 00053 00054 return true; 00055 }
std::vector<PSimHit>& TrackingSlaveSD::hits | ( | ) | [inline] |
Definition at line 23 of file TrackingSlaveSD.h.
References hits_.
Referenced by TkAccumulatingSensitiveDetector::fillHits(), FP420SD::fillHits(), MuonSensitiveDetector::fillHits(), TotemSD::fillHits(), and BscSD::fillHits().
00023 {return hits_;}
void TrackingSlaveSD::Initialize | ( | ) | [virtual] |
Definition at line 20 of file TrackingSlaveSD.cc.
References hits_, LogDebug, and name_.
Referenced by TotemSD::clearHits(), FP420SD::clearHits(), TkAccumulatingSensitiveDetector::clearHits(), BscSD::clearHits(), and MuonSensitiveDetector::clearHits().
00020 { 00021 00022 00023 LogDebug("HitBuildInfo")<< " initialize TrackingSlaveSD "<< name_; 00024 00025 hits_.clear(); 00026 }
std::string TrackingSlaveSD::name | ( | void | ) | const [inline] |
Definition at line 22 of file TrackingSlaveSD.h.
References name_.
Referenced by TkAccumulatingSensitiveDetector::fillHits(), FP420SD::fillHits(), MuonSensitiveDetector::fillHits(), TotemSD::fillHits(), BscSD::fillHits(), FP420SD::getNames(), BscSD::getNames(), TkAccumulatingSensitiveDetector::getNames(), and MuonSensitiveDetector::getNames().
00022 { return name_; }
Definition at line 57 of file TrackingSlaveSD.cc.
References hits_, LogDebug, and name_.
Referenced by TotemSD::EndOfEvent(), FP420SD::EndOfEvent(), BscSD::EndOfEvent(), MuonSensitiveDetector::saveHit(), and TkAccumulatingSensitiveDetector::sendHit().
00058 { 00059 00060 LogDebug("HitBuildInfo")<<" Sent Hit " << ps << " to ROU " << name_; 00061 00062 hits_.push_back(ps); 00063 return true; 00064 }
Definition at line 66 of file TrackingSlaveSD.cc.
References PSimHit::theTrackId.
00067 { hit.theTrackId = k; }
std::string TrackingSlaveSD::type | ( | void | ) | [inline] |
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().