24 #ifndef DDASROOTFITEVENT_H
25 #define DDASROOTFITEVENT_H
88 std::vector<DDASRootFitHit*>
GetData();
Defines the object that's put in a ROOT TTree for each event.
Definition: DDASRootFitEvent.h:56
Double_t GetTimeWidth() const
Get the time from the last hit in the event.
Definition: DDASRootFitEvent.cpp:99
void AddHit(const DDASRootFitHit &hit)
Add a hit to the event.
Definition: DDASRootFitEvent.cpp:105
DDASRootFitEvent()
Constructor.
Definition: DDASRootFitEvent.cpp:33
Double_t GetFirstTime() const
Get the time from the first hit in the event.
Definition: DDASRootFitEvent.cpp:79
DDASRootFitEvent & operator=(const DDASRootFitEvent &rhs)
Assignment operator.
Definition: DDASRootFitEvent.cpp:60
void Reset()
Delete the hits and empty the array of hits.
Definition: DDASRootFitEvent.cpp:112
~DDASRootFitEvent()
Destructor.
Definition: DDASRootFitEvent.cpp:47
Double_t GetLastTime() const
Get the time from the last hit in the event.
Definition: DDASRootFitEvent.cpp:89
std::vector< DDASRootFitHit * > m_hits
An event is a vector of hits.
Definition: DDASRootFitEvent.h:58
std::vector< DDASRootFitHit * > GetData()
Return the event vector.
Definition: DDASRootFitEvent.cpp:73
This class is a ROOT serializable DDAS hit with possible fit data.
Definition: DDASRootFitHit.h:53