#include <TSTSEvent.h>
Data Structures | |
struct | lasersetup_t |
struct | stshit_t |
Public Member Functions | |
TSTSEvent () | |
TSTSEvent (const char *name, Short_t id=0) | |
virtual | ~TSTSEvent () |
virtual void | Clear (Option_t *t="") |
void | AddPoint (UInt_t plane, TSpacepoint const &point) |
Int_t | GetNPlanes () const |
Int_t | GetNPoints (UInt_t plane) const |
TSpacepoint const & | GetPoint (UInt_t plane, Int_t point) const |
void | AddDigi (UInt_t station, UInt_t side, TSTSDigi const &digi) |
Int_t | GetNStations () const |
Int_t | GetNDigis (UInt_t station, UInt_t side) const |
TSTSDigi const & | GetDigi (UInt_t station, UInt_t side, UInt_t digi) const |
void | AddCluster (UInt_t station, UInt_t side, TSTSCluster const &clust) |
Int_t | GetNClusters (UInt_t station, UInt_t side) const |
TSTSCluster const & | GetCluster (UInt_t station, UInt_t side, UInt_t cluster) const |
void | AddHit (Double_t station, Int_t strip, Double_t t, Bool_t negative, Double_t adc) |
unsigned | NumHits () const |
stshit_t & | Hit (unsigned n) |
TSTSEvent () | |
TSTSEvent (const char *name, Short_t id=0) | |
virtual | ~TSTSEvent () |
virtual void | Clear (Option_t *t="") |
void | AddPoint (UInt_t plane, TSpacepoint const &point) |
Int_t | GetNPlanes () const |
Int_t | GetNPoints (UInt_t plane) const |
TSpacepoint const & | GetPoint (UInt_t plane, Int_t point) const |
void | AddDigi (UInt_t station, UInt_t side, TSTSDigi const &digi) |
Int_t | GetNStations () const |
Int_t | GetNDigis (UInt_t station, UInt_t side) const |
TSTSDigi const & | GetDigi (UInt_t station, UInt_t side, UInt_t digi) const |
const lasersetup_t & | GetLaserSetup () |
void | SetLaserSetup (lasersetup_t set) |
void | ClearLaserSetup () |
Protected Member Functions | |
virtual Int_t | Init () |
Protected Attributes | |
Int_t | fNStations |
std::vector< std::vector < TSpacepoint > > | fPoints |
std::vector< std::vector < std::vector< TSTSDigi > > > | fDigis |
std::vector< std::vector < std::vector< TSTSCluster > > > | fClusters |
std::vector< stshit_t > | fHits |
lasersetup_t | fCurrentScan |
Definition at line 23 of file TSTSEvent.h.
TSTSEvent::TSTSEvent | ( | ) |
Definition at line 17 of file TSTSEvent.cxx.
TSTSEvent::TSTSEvent | ( | const char * | name, | |
Short_t | id = 0 | |||
) |
Definition at line 11 of file TSTSEvent.cxx.
TSTSEvent::~TSTSEvent | ( | ) | [virtual] |
Definition at line 24 of file TSTSEvent.cxx.
TSTSEvent::TSTSEvent | ( | ) |
TSTSEvent::TSTSEvent | ( | const char * | name, | |
Short_t | id = 0 | |||
) |
virtual TSTSEvent::~TSTSEvent | ( | ) | [virtual] |
void TSTSEvent::AddCluster | ( | UInt_t | station, | |
UInt_t | side, | |||
TSTSCluster const & | clust | |||
) |
Definition at line 53 of file TSTSEvent.cxx.
References fClusters, and TSTSTopology::kNSides.
Referenced by TSTSProc::FinalizeEvent().
void TSTSEvent::AddDigi | ( | UInt_t | station, | |
UInt_t | side, | |||
TSTSDigi const & | digi | |||
) |
Definition at line 39 of file TSTSEvent.cxx.
References fDigis, and TSTSTopology::kNSides.
Referenced by TSTSProc::FinalizeEvent(), and TSTSProc::ProcessValidMessage().
void TSTSEvent::AddDigi | ( | UInt_t | station, | |
UInt_t | side, | |||
TSTSDigi const & | digi | |||
) |
void TSTSEvent::AddHit | ( | Double_t | station, | |
Int_t | strip, | |||
Double_t | t, | |||
Bool_t | negative, | |||
Double_t | adc | |||
) | [inline] |
Definition at line 65 of file TSTSEvent.h.
References fHits.
void TSTSEvent::AddPoint | ( | UInt_t | plane, | |
TSpacepoint const & | point | |||
) |
void TSTSEvent::AddPoint | ( | UInt_t | plane, | |
TSpacepoint const & | point | |||
) |
Definition at line 30 of file TSTSEvent.cxx.
References fPoints.
Referenced by TSTSProc::EvaluateHits(), and TSTSProc::FinalizeEvent().
virtual void TSTSEvent::Clear | ( | Option_t * | t = "" |
) | [virtual] |
Method called by the framework to clear the event element.
void TSTSEvent::Clear | ( | Option_t * | t = "" |
) | [virtual] |
void TSTSEvent::ClearLaserSetup | ( | ) | [inline] |
Definition at line 110 of file TSTSEvent.h.
References TSTSEvent::lasersetup_t::Clear(), and fCurrentScan.
TSTSCluster const& TSTSEvent::GetCluster | ( | UInt_t | station, | |
UInt_t | side, | |||
UInt_t | cluster | |||
) | const [inline] |
Definition at line 63 of file TSTSEvent.h.
References fClusters.
TSTSDigi const& TSTSEvent::GetDigi | ( | UInt_t | station, | |
UInt_t | side, | |||
UInt_t | digi | |||
) | const [inline] |
Definition at line 59 of file TSTSEvent.h.
References fDigis.
TSTSDigi const& TSTSEvent::GetDigi | ( | UInt_t | station, | |
UInt_t | side, | |||
UInt_t | digi | |||
) | const [inline] |
Definition at line 86 of file TSTSEvent.h.
References fDigis.
const lasersetup_t& TSTSEvent::GetLaserSetup | ( | ) | [inline] |
Definition at line 101 of file TSTSEvent.h.
References fCurrentScan.
Referenced by TSTSProc::CheckScanSetup(), and TSTSProc::ProcessValidMessage().
Int_t TSTSEvent::GetNClusters | ( | UInt_t | station, | |
UInt_t | side | |||
) | const [inline] |
Definition at line 62 of file TSTSEvent.h.
References fClusters.
Int_t TSTSEvent::GetNDigis | ( | UInt_t | station, | |
UInt_t | side | |||
) | const [inline] |
Definition at line 85 of file TSTSEvent.h.
References fDigis.
Int_t TSTSEvent::GetNDigis | ( | UInt_t | station, | |
UInt_t | side | |||
) | const [inline] |
Definition at line 58 of file TSTSEvent.h.
References fDigis.
Int_t TSTSEvent::GetNPlanes | ( | ) | const [inline] |
Definition at line 79 of file TSTSEvent.h.
References fPoints.
Int_t TSTSEvent::GetNPlanes | ( | ) | const [inline] |
Definition at line 52 of file TSTSEvent.h.
References fPoints.
Int_t TSTSEvent::GetNPoints | ( | UInt_t | plane | ) | const [inline] |
Definition at line 53 of file TSTSEvent.h.
References fPoints.
Int_t TSTSEvent::GetNPoints | ( | UInt_t | plane | ) | const [inline] |
Definition at line 80 of file TSTSEvent.h.
References fPoints.
Int_t TSTSEvent::GetNStations | ( | ) | const [inline] |
Definition at line 84 of file TSTSEvent.h.
References fNStations.
Int_t TSTSEvent::GetNStations | ( | ) | const [inline] |
Definition at line 57 of file TSTSEvent.h.
References fNStations.
TSpacepoint const& TSTSEvent::GetPoint | ( | UInt_t | plane, | |
Int_t | point | |||
) | const [inline] |
Definition at line 54 of file TSTSEvent.h.
References fPoints.
TSpacepoint const& TSTSEvent::GetPoint | ( | UInt_t | plane, | |
Int_t | point | |||
) | const [inline] |
Definition at line 81 of file TSTSEvent.h.
References fPoints.
stshit_t& TSTSEvent::Hit | ( | unsigned | n | ) | [inline] |
Definition at line 75 of file TSTSEvent.h.
References fHits.
Int_t TSTSEvent::Init | ( | ) | [protected, virtual] |
Definition at line 32 of file TSTSEvent.cxx.
References TSTSEvent::lasersetup_t::Clear(), fCurrentScan, fDigis, fNStations, fPoints, TSTSTopology::GetNDetectors(), and TSTSTopology::kNSides.
unsigned TSTSEvent::NumHits | ( | ) | const [inline] |
Definition at line 72 of file TSTSEvent.h.
References fHits.
void TSTSEvent::SetLaserSetup | ( | lasersetup_t | set | ) | [inline] |
Definition at line 106 of file TSTSEvent.h.
References fCurrentScan.
Referenced by TSTSProc::CheckScanSetup().
std::vector< std::vector< std::vector < TSTSCluster > > > TSTSEvent::fClusters [protected] |
Definition at line 28 of file TSTSEvent.h.
Referenced by AddCluster(), Clear(), GetCluster(), and GetNClusters().
lasersetup_t TSTSEvent::fCurrentScan [protected] |
Definition at line 119 of file TSTSEvent.h.
Referenced by ClearLaserSetup(), GetLaserSetup(), Init(), and SetLaserSetup().
std::vector< std::vector< std::vector< TSTSDigi > > > TSTSEvent::fDigis [protected] |
Definition at line 27 of file TSTSEvent.h.
Referenced by AddDigi(), Clear(), GetDigi(), GetNDigis(), and Init().
std::vector<stshit_t> TSTSEvent::fHits [protected] |
Int_t TSTSEvent::fNStations [protected] |
Definition at line 25 of file TSTSEvent.h.
Referenced by GetNStations(), and Init().
std::vector< std::vector< TSpacepoint > > TSTSEvent::fPoints [protected] |
Definition at line 26 of file TSTSEvent.h.
Referenced by AddPoint(), Clear(), GetNPlanes(), GetNPoints(), GetPoint(), and Init().