|
REST-for-Physics
v2.3
Rare Event Searches ToolKit for Physics
|
Definition at line 11 of file TRestHaloEvent.h.
Public Member Functions | |
| virtual void | Browse (TBrowser *b) override |
| ClassDefOverride (TRestHaloEvent, 1) | |
| virtual TPad * | DrawEvent (const TString &option="") override |
| Draw the event. | |
| const std::vector< double > & | GetFrequencies () const |
| TRestHaloMetadata & | GetMetadata () |
| const TRestHaloMetadata & | GetMetadata () const |
| double | GetStdDev () const |
| TRestHaloMetadata::EValueUnit | GetStoredUnit () const |
| const std::vector< double > & | GetUncertainties () const |
| double | GetValueAtFrequency (double f) const |
| double | GetValueAtFrequency (double f, TRestHaloMetadata::EValueUnit outUnit) const |
| const std::vector< double > & | GetValues () const |
| void | Initialize () override |
| void | PrintEvent () const override |
| void | SetSpectrum (const std::vector< double > &freq, const std::vector< double > &values, TRestHaloMetadata::EValueUnit unit, const std::vector< double > &uncertainties=std::vector< double >()) |
| void | SetUncertainties (const std::vector< double > &uncertainties) |
| Public Member Functions inherited from TRestEvent | |
| virtual void | CloneTo (TRestEvent *target) |
| Clone the content of this TRestEvent object to another. | |
| Int_t | GetID () const |
| Int_t | GetRunOrigin () const |
| TString | GetSubEventTag () const |
| Int_t | GetSubID () const |
| Int_t | GetSubRunOrigin () const |
| Double_t | GetTime () const |
| TTimeStamp | GetTimeStamp () const |
| virtual void | InitializeReferences (TRestRun *run) |
| Initialize dynamical references when loading the event from a root file. | |
| virtual void | InitializeWithMetadata (TRestRun *run) |
| Bool_t | isOk () const |
| void | SetEventInfo (TRestEvent *eve) |
| void | SetID (Int_t id) |
| void | SetOK (Bool_t state) |
| void | SetRunOrigin (Int_t run_origin) |
| void | SetState (Bool_t state) |
| void | SetSubEventTag (const TString &tag) |
| void | SetSubID (Int_t id) |
| void | SetSubRunOrigin (Int_t sub_run_origin) |
| void | SetTime (Double_t seconds, Double_t nanoseconds) |
| void | SetTime (Double_t time) |
| void | SetTimeStamp (const TTimeStamp &time) |
| TRestEvent () | |
| virtual | ~TRestEvent () |
Static Public Member Functions | |
| static double | VoltsToWatts (double v) |
| static double | WattsToVolts (double w) |
Private Attributes | |
| std::vector< double > | fFrequency |
| TRestHaloMetadata | fMetadata |
| double | fResolution = 0 |
| double | fStartFrequency = 0 |
| double | fStdDev = 0 |
| double | fStopFrequency = 0 |
| std::vector< double > | fUncertainties |
| std::vector< double > | fValues |
Additional Inherited Members | |
| Protected Member Functions inherited from TRestEvent | |
| void | RestartPad (Int_t nElements) |
| Protected Attributes inherited from TRestEvent | |
| Int_t | fEventID |
| Event identification number. | |
| TTimeStamp | fEventTime |
| Absolute event time. | |
| Bool_t | fOk |
| Flag to be used by processes to define an event status. fOk=true is the default. | |
| TPad * | fPad |
| TRestRun * | fRun = nullptr |
| Int_t | fRunOrigin |
| Run ID number of the event. | |
| Int_t | fSubEventID |
| Sub-Event identification number. | |
| TString | fSubEventTag |
| A short length label to identify the sub-Event. | |
| Int_t | fSubRunOrigin |
| Sub-run ID number of the event. | |
| TRestHaloEvent::TRestHaloEvent | ( | ) |
Definition at line 12 of file TRestHaloEvent.cxx.
| TRestHaloEvent::~TRestHaloEvent | ( | ) |
Definition at line 13 of file TRestHaloEvent.cxx.
|
overridevirtual |
Definition at line 133 of file TRestHaloEvent.cxx.
|
overridevirtual |
Draw the event.
To be implemented in the derived class
Reimplemented from TRestEvent.
Definition at line 93 of file TRestHaloEvent.cxx.
|
inline |
Definition at line 39 of file TRestHaloEvent.h.
|
inline |
Definition at line 44 of file TRestHaloEvent.h.
|
inline |
Definition at line 43 of file TRestHaloEvent.h.
|
inline |
Definition at line 58 of file TRestHaloEvent.h.
|
inline |
Definition at line 47 of file TRestHaloEvent.h.
|
inline |
Definition at line 41 of file TRestHaloEvent.h.
|
inline |
Definition at line 55 of file TRestHaloEvent.h.
| double TRestHaloEvent::GetValueAtFrequency | ( | double | f, |
| TRestHaloMetadata::EValueUnit | outUnit ) const |
Definition at line 63 of file TRestHaloEvent.cxx.
|
inline |
Definition at line 40 of file TRestHaloEvent.h.
|
overridevirtual |
Run to initialize event data. To be re-implemented in derived class, you may want to call the base class at the end of the re-implemented, by calling TRestEvent::Initialize();
Implements TRestEvent.
Definition at line 17 of file TRestHaloEvent.cxx.
|
overridevirtual |
Run to print event data info on console To be re-implemented in derived class. You may want to call the base class inside the re-implemented one, by calling TRestEvent::PrintEvent();
Reimplemented from TRestEvent.
Definition at line 86 of file TRestHaloEvent.cxx.
| void TRestHaloEvent::SetSpectrum | ( | const std::vector< double > & | freq, |
| const std::vector< double > & | values, | ||
| TRestHaloMetadata::EValueUnit | unit, | ||
| const std::vector< double > & | uncertainties = std::vector<double>() ) |
Definition at line 19 of file TRestHaloEvent.cxx.
| void TRestHaloEvent::SetUncertainties | ( | const std::vector< double > & | uncertainties | ) |
Definition at line 53 of file TRestHaloEvent.cxx.
|
inlinestatic |
Definition at line 71 of file TRestHaloEvent.h.
|
inlinestatic |
Definition at line 72 of file TRestHaloEvent.h.
|
private |
Definition at line 13 of file TRestHaloEvent.h.
|
private |
Definition at line 18 of file TRestHaloEvent.h.
|
private |
Definition at line 22 of file TRestHaloEvent.h.
|
private |
Definition at line 20 of file TRestHaloEvent.h.
|
private |
Definition at line 23 of file TRestHaloEvent.h.
|
private |
Definition at line 21 of file TRestHaloEvent.h.
|
private |
Definition at line 15 of file TRestHaloEvent.h.
|
private |
Definition at line 14 of file TRestHaloEvent.h.