class to hold data at Pad level More...
#include <cevt/Pad.h>
Public Types | |
typedef utl::MultiTimeDistributionI::ConstIterator | ConstHitsIterator |
typedef utl::MultiTimeDistributionI::Iterator | HitsIterator |
Public Member Functions | |
void | ClearHits () |
utl::TimeDistributionI & | GetHits (const StationConstants::SignalComponent source=StationConstants::eTotal) |
Get time distribution of hits, optionally specifying the source. More... | |
const utl::TimeDistributionI & | GetHits (const StationConstants::SignalComponent source=StationConstants::eTotal) const |
unsigned int | GetId () const |
Return Id of the Pad. More... | |
const utl::MultiTimeDistributionI & | GetMultiHits () |
PadRecData & | GetRecData () |
Get object containing Pad reconstructed data. More... | |
const PadRecData & | GetRecData () const |
unsigned int | GetRPCId () const |
PadSimData & | GetSimData () |
Get object containing Pad simulated data. More... | |
const PadSimData & | GetSimData () const |
int | GetStationId () const |
Return Id of the station to which this Pad belongs. More... | |
unsigned int | GetTotalHits (const StationConstants::SignalComponent source=StationConstants::eTotal) const |
bool | HasHits (const StationConstants::SignalComponent source=StationConstants::eTotal) const |
Check if a digitized signal exists. Source may be specified. More... | |
bool | HasRecData () const |
Check for existence of Pad reconstructed data object. More... | |
bool | HasSimData () const |
Check for existence of Pad simulated data object. More... | |
HitsIterator | HitsBegin () |
ConstHitsIterator | HitsBegin () const |
HitsIterator | HitsEnd () |
ConstHitsIterator | HitsEnd () const |
void | MakeHits (const StationConstants::SignalComponent source=StationConstants::eTotal) |
Make a time distribution. Source may be specified. More... | |
void | MakeRecData () |
Make Pad reconstructed data object. More... | |
void | MakeSimData () |
Make Pad simulated data object. More... | |
Private Member Functions | |
Pad (const int stationId, const unsigned int id) | |
~Pad () | |
Private Attributes | |
utl::InitializedShadowPtr < utl::MultiTimeDistributionI > | fHits |
unsigned int | fId = 0 |
utl::ShadowPtr< PadRecData > | fPadRecData |
utl::ShadowPtr< PadSimData > | fPadSimData |
int | fStationId = 0 |
Friends | |
class | io::cevtPad_ROOT |
class | Station |
|
inlineprivate |
|
inline |
Definition at line 60 of file Pad.h.
References fHits.
Referenced by RPCEventBuilderLX::RPCEventBuilder::Run().
|
inline |
Get time distribution of hits, optionally specifying the source.
Definition at line 64 of file Pad.h.
References fHits.
Referenced by io::cevtPad_ROOT::operator>>(), and RPCEventBuilderLX::RPCEventBuilder::Run().
|
inline |
|
inline |
Return Id of the Pad.
Definition at line 31 of file Pad.h.
References fId.
Referenced by cdet::Station::GetPadPosition(), and RPCElectronicsSimulatorLX::RPCElectronicsSimulator::Run().
|
inline |
|
inline |
Get object containing Pad reconstructed data.
Definition at line 51 of file Pad.h.
References fPadRecData.
Referenced by io::cevtPad_ROOT::cevtPad_ROOT(), and io::cevtPad_ROOT::operator>>().
|
inline |
Definition at line 52 of file Pad.h.
References fPadRecData.
|
inline |
Get object containing Pad simulated data.
Definition at line 41 of file Pad.h.
References fPadSimData.
Referenced by io::cevtPad_ROOT::cevtPad_ROOT(), io::cevtPad_ROOT::operator>>(), RPCEventBuilderLX::RPCEventBuilder::Run(), RPCElectronicsSimulatorLX::RPCElectronicsSimulator::Run(), and RPCSimulatorLX::RPCSimulator::Run().
|
inline |
Definition at line 42 of file Pad.h.
References fPadSimData.
|
inline |
Return Id of the station to which this Pad belongs.
Definition at line 34 of file Pad.h.
References fStationId.
unsigned int Pad::GetTotalHits | ( | const StationConstants::SignalComponent | source = StationConstants::eTotal | ) | const |
Definition at line 27 of file Pad.cc.
References utl::TimeDistribution< T >::GetStart(), and utl::TimeDistribution< T >::GetStop().
|
inline |
Check if a digitized signal exists. Source may be specified.
Definition at line 74 of file Pad.h.
References fHits.
Referenced by io::cevtPad_ROOT::cevtPad_ROOT(), io::cevtPad_ROOT::operator>>(), and RPCEventBuilderLX::RPCEventBuilder::Run().
|
inline |
Check for existence of Pad reconstructed data object.
Definition at line 58 of file Pad.h.
References fPadRecData.
Referenced by io::cevtPad_ROOT::cevtPad_ROOT(), and io::cevtPad_ROOT::operator>>().
|
inline |
Check for existence of Pad simulated data object.
Definition at line 48 of file Pad.h.
References fPadSimData.
Referenced by io::cevtPad_ROOT::cevtPad_ROOT(), io::cevtPad_ROOT::operator>>(), and RPCSimulatorLX::RPCSimulator::Run().
|
inline |
Definition at line 85 of file Pad.h.
References fHits.
Referenced by io::cevtPad_ROOT::cevtPad_ROOT().
|
inline |
|
inline |
Definition at line 86 of file Pad.h.
References fHits.
Referenced by io::cevtPad_ROOT::cevtPad_ROOT().
|
inline |
void Pad::MakeHits | ( | const StationConstants::SignalComponent | source = StationConstants::eTotal | ) |
Make a time distribution. Source may be specified.
Definition at line 59 of file Pad.cc.
References ns.
Referenced by io::cevtPad_ROOT::operator>>(), and RPCEventBuilderLX::RPCEventBuilder::Run().
void Pad::MakeRecData | ( | ) |
Make Pad reconstructed data object.
Definition at line 49 of file Pad.cc.
References ERROR.
Referenced by io::cevtPad_ROOT::operator>>().
void Pad::MakeSimData | ( | ) |
Make Pad simulated data object.
Definition at line 39 of file Pad.cc.
References ERROR.
Referenced by io::cevtPad_ROOT::operator>>(), and RPCSimulatorLX::RPCSimulator::Run().
|
friend |
|
private |
Definition at line 102 of file Pad.h.
Referenced by ClearHits(), GetHits(), GetMultiHits(), HasHits(), HitsBegin(), and HitsEnd().
|
private |
Definition at line 100 of file Pad.h.
Referenced by GetRecData(), and HasRecData().
|
private |
Definition at line 99 of file Pad.h.
Referenced by GetSimData(), and HasSimData().
|
private |
Definition at line 96 of file Pad.h.
Referenced by GetStationId().