QwAnalysis
|
one software meantim holder More...
#include <QwSoftwareMeantime.h>
Inherits TObject.
Public Member Functions | |
MeanTime () | |
MeanTime (TString name, Long64_t ev_id, Double_t p_in, Double_t n_in, Int_t p_id, Int_t n_id) | |
virtual | ~MeanTime () |
Bool_t | HasMeanTime () |
Double_t | GetMeanTime () const |
Double_t | GetSubtractTime () const |
Double_t | GetDiffHardSoftMeanTime () const |
Double_t | GetPositiveValue () const |
Double_t | GetNegativeValue () const |
const Int_t | GetSoftwareMeantimeHitElement () const |
const Int_t | GetSoftwarePositiveHitElement () const |
const Int_t | GetSoftwareNegativeHitElement () const |
const Int_t | GetSoftwareSubtractHitElement () const |
Int_t | GetPositiveHitId () const |
Int_t | GetNegativeHitId () const |
Int_t | GetMeanTimeId () const |
Int_t | GetPlane () const |
void | AddPNValues (Double_t p_value, Double_t n_value, Int_t p_id, Int_t n_id) |
void | SetDetectorType (TString d_type) |
void | SetMeanTimeId (Int_t id) |
void | SetPlane (Int_t in) |
void | SetHardwareMeanTime (Double_t hardware_meantime) |
void | Print (Bool_t on) |
Bool_t | IsInTimeWindow (Double_t time_window) |
Bool_t | IsHitIDsMatch () |
void | ClearEventData () |
Private Member Functions | |
ClassDef (MeanTime, 0) | |
Private Attributes | |
Bool_t | fHasValue |
Double_t | fMeanTime |
Double_t | fSubtractTime |
Double_t | fDiffHardSoftMeanTime |
Double_t | fHardWareMeanTime |
Double_t | fPositiveValue |
Double_t | fNegativeValue |
Int_t | fPositiveHitId |
Int_t | fNegativeHitId |
Int_t | fMeanTimeId |
Long64_t | fEventId |
TString | fDetectorType |
Int_t | fPlane |
Static Private Attributes | |
static const Int_t | fSoftwareMeantimeHitElementID = 3 |
static const Int_t | fSoftwarePositiveHitElementID = 4 |
static const Int_t | fSoftwareNegativeHitElementID = 5 |
static const Int_t | fSoftwareSubtractHitElementID = 6 |
one software meantim holder
Definition at line 33 of file QwSoftwareMeantime.h.
MeanTime::MeanTime | ( | ) |
Definition at line 21 of file QwSoftwareMeantime.cc.
References fDetectorType, fDiffHardSoftMeanTime, fEventId, fHardWareMeanTime, fHasValue, fMeanTime, fMeanTimeId, fNegativeHitId, fNegativeValue, fPositiveHitId, fPositiveValue, and fSubtractTime.
MeanTime::MeanTime | ( | TString | name, |
Long64_t | ev_id, | ||
Double_t | p_in, | ||
Double_t | n_in, | ||
Int_t | p_id, | ||
Int_t | n_id | ||
) |
Definition at line 44 of file QwSoftwareMeantime.cc.
References AddPNValues(), fDetectorType, fDiffHardSoftMeanTime, fEventId, and fHardWareMeanTime.
|
virtual |
Definition at line 56 of file QwSoftwareMeantime.cc.
void MeanTime::AddPNValues | ( | Double_t | p_value, |
Double_t | n_value, | ||
Int_t | p_id, | ||
Int_t | n_id | ||
) |
Definition at line 61 of file QwSoftwareMeantime.cc.
References fHasValue, fMeanTime, fNegativeHitId, fNegativeValue, fPositiveHitId, fPositiveValue, and fSubtractTime.
Referenced by MeanTime().
|
private |
void MeanTime::ClearEventData | ( | ) |
Definition at line 145 of file QwSoftwareMeantime.cc.
References fDiffHardSoftMeanTime, fEventId, fHardWareMeanTime, fHasValue, fMeanTime, fMeanTimeId, fNegativeHitId, fNegativeValue, fPositiveHitId, fPositiveValue, and fSubtractTime.
Referenced by MeanTimeContainer::ClearEventData().
|
inline |
|
inline |
Definition at line 44 of file QwSoftwareMeantime.h.
References fMeanTime.
Referenced by MeanTimeContainer::GetMeanTime().
|
inline |
Definition at line 60 of file QwSoftwareMeantime.h.
References fMeanTimeId.
Referenced by MeanTimeContainer::GetMeanTime(), MeanTimeContainer::GetMeanTimeObject(), and MeanTimeContainer::MatchHardwareMeanTime().
|
inline |
|
inline |
|
inline |
Definition at line 61 of file QwSoftwareMeantime.h.
References fPlane.
Referenced by QwMainDetector::AddSoftwareMeantimeToHits(), and QwTriggerScintillator::AddSoftwareMeantimeToHits().
|
inline |
|
inline |
|
inline |
Definition at line 52 of file QwSoftwareMeantime.h.
References fSoftwareMeantimeHitElementID.
|
inline |
Definition at line 54 of file QwSoftwareMeantime.h.
References fSoftwareNegativeHitElementID.
|
inline |
Definition at line 53 of file QwSoftwareMeantime.h.
References fSoftwarePositiveHitElementID.
|
inline |
Definition at line 55 of file QwSoftwareMeantime.h.
References fSoftwareSubtractHitElementID.
|
inline |
|
inline |
Bool_t MeanTime::IsHitIDsMatch | ( | ) |
Definition at line 125 of file QwSoftwareMeantime.cc.
References fNegativeHitId, and fPositiveHitId.
Bool_t MeanTime::IsInTimeWindow | ( | Double_t | time_window | ) |
Definition at line 116 of file QwSoftwareMeantime.cc.
References fSubtractTime.
Referenced by MeanTimeContainer::AddMeanTime().
void MeanTime::Print | ( | Bool_t | on = true | ) |
Definition at line 79 of file QwSoftwareMeantime.cc.
References fDetectorType, fEventId, fHardWareMeanTime, fMeanTime, fMeanTimeId, fNegativeHitId, fNegativeValue, fPlane, fPositiveHitId, fPositiveValue, and fSubtractTime.
Referenced by MeanTimeContainer::Print().
|
inline |
void MeanTime::SetHardwareMeanTime | ( | Double_t | hardware_meantime | ) |
Definition at line 135 of file QwSoftwareMeantime.cc.
References fDiffHardSoftMeanTime, fHardWareMeanTime, and fMeanTime.
Referenced by MeanTimeContainer::MatchHardwareMeanTime().
|
inline |
|
inline |
|
private |
Definition at line 94 of file QwSoftwareMeantime.h.
Referenced by MeanTime(), Print(), and SetDetectorType().
|
private |
Definition at line 83 of file QwSoftwareMeantime.h.
Referenced by ClearEventData(), GetDiffHardSoftMeanTime(), MeanTime(), and SetHardwareMeanTime().
|
private |
Definition at line 93 of file QwSoftwareMeantime.h.
Referenced by ClearEventData(), MeanTime(), and Print().
|
private |
Definition at line 84 of file QwSoftwareMeantime.h.
Referenced by ClearEventData(), MeanTime(), Print(), and SetHardwareMeanTime().
|
private |
Definition at line 79 of file QwSoftwareMeantime.h.
Referenced by AddPNValues(), ClearEventData(), HasMeanTime(), and MeanTime().
|
private |
Definition at line 80 of file QwSoftwareMeantime.h.
Referenced by AddPNValues(), ClearEventData(), GetMeanTime(), MeanTime(), Print(), and SetHardwareMeanTime().
|
private |
Definition at line 91 of file QwSoftwareMeantime.h.
Referenced by ClearEventData(), GetMeanTimeId(), MeanTime(), Print(), and SetMeanTimeId().
|
private |
Definition at line 90 of file QwSoftwareMeantime.h.
Referenced by AddPNValues(), ClearEventData(), GetNegativeHitId(), IsHitIDsMatch(), MeanTime(), and Print().
|
private |
Definition at line 87 of file QwSoftwareMeantime.h.
Referenced by AddPNValues(), ClearEventData(), GetNegativeValue(), MeanTime(), and Print().
|
private |
Definition at line 95 of file QwSoftwareMeantime.h.
Referenced by GetPlane(), Print(), and SetPlane().
|
private |
Definition at line 89 of file QwSoftwareMeantime.h.
Referenced by AddPNValues(), ClearEventData(), GetPositiveHitId(), IsHitIDsMatch(), MeanTime(), and Print().
|
private |
Definition at line 86 of file QwSoftwareMeantime.h.
Referenced by AddPNValues(), ClearEventData(), GetPositiveValue(), MeanTime(), and Print().
|
staticprivate |
Definition at line 97 of file QwSoftwareMeantime.h.
Referenced by GetSoftwareMeantimeHitElement().
|
staticprivate |
Definition at line 99 of file QwSoftwareMeantime.h.
Referenced by GetSoftwareNegativeHitElement().
|
staticprivate |
Definition at line 98 of file QwSoftwareMeantime.h.
Referenced by GetSoftwarePositiveHitElement().
|
staticprivate |
Definition at line 100 of file QwSoftwareMeantime.h.
Referenced by GetSoftwareSubtractHitElement().
|
private |
Definition at line 81 of file QwSoftwareMeantime.h.
Referenced by AddPNValues(), ClearEventData(), GetSubtractTime(), IsInTimeWindow(), MeanTime(), and Print().