#include <PlexSEIdAltLItem.h>
Public Member Functions | |
| PlexSEIdAltLItem () | |
| PlexSEIdAltLItem (const PlexStripEndId &seid, const PlexPixelSpotId &spotid, Float_t wgt=0, Float_t pe=0, Float_t siglin=0, Float_t sigcorr=0, Double_t time=0) | |
| PlexSEIdAltLItem (const PlexSEIdAltLItem &that) | |
| virtual | ~PlexSEIdAltLItem () |
| PlexStripEndId | GetSEId () const |
| PlexPixelSpotId | GetPixelSpotId () const |
| Float_t | GetWeight () const |
| Bool_t | IsZeroWeight () const |
| Float_t | GetPE () const |
| Float_t | GetSigLin () const |
| Float_t | GetSigCorr () const |
| Double_t | GetTime () const |
| void | SetWeight (Float_t wgt) |
| void | AddToWeight (Float_t wgtadd) |
| void | SetPE (Float_t pe) |
| void | SetSigLin (Float_t siglin) |
| void | SetSigCorr (Float_t sigcorr) |
| void | SetTime (Double_t time) |
| void | AddToTime (Double_t tadd) |
| virtual void | Print (Option_t *option="") const |
Protected Attributes | |
| PlexStripEndId | fStripEndId |
| PlexPixelSpotId | fPixelSpotId |
| Float_t | fWeight |
| Float_t | fPE |
| Float_t | fSigLin |
| Float_t | fSigCorr |
| Double_t | fTime |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const PlexSEIdAltLItem &item) |
| Bool_t | operator== (const PlexSEIdAltLItem &lhs, const PlexSEIdAltLItem &rhs) |
| Bool_t | operator< (const PlexSEIdAltLItem &lhs, const PlexSEIdAltLItem &rhs) |
Definition at line 25 of file PlexSEIdAltLItem.h.
| PlexSEIdAltLItem::PlexSEIdAltLItem | ( | ) | [inline] |
Definition at line 32 of file PlexSEIdAltLItem.h.
References LEA_CTOR.
00032 : // null ctor 00033 fStripEndId(), 00034 fPixelSpotId(), 00035 fWeight(0), fPE(0), fSigLin(0), fSigCorr(0), fTime(-1) { LEA_CTOR; };
| PlexSEIdAltLItem::PlexSEIdAltLItem | ( | const PlexStripEndId & | seid, | |
| const PlexPixelSpotId & | spotid, | |||
| Float_t | wgt = 0, |
|||
| Float_t | pe = 0, |
|||
| Float_t | siglin = 0, |
|||
| Float_t | sigcorr = 0, |
|||
| Double_t | time = 0 | |||
| ) | [inline] |
Definition at line 37 of file PlexSEIdAltLItem.h.
References LEA_CTOR.
00041 : // basic ctor 00042 fStripEndId(seid), 00043 fPixelSpotId(spotid), 00044 fWeight(wgt), fPE(pe), 00045 fSigLin(siglin), fSigCorr(sigcorr), 00046 fTime(time) { LEA_CTOR; };
| PlexSEIdAltLItem::PlexSEIdAltLItem | ( | const PlexSEIdAltLItem & | that | ) | [inline] |
Definition at line 48 of file PlexSEIdAltLItem.h.
References LEA_CTOR.
00049 { LEA_CTOR; *this = that; }
| virtual PlexSEIdAltLItem::~PlexSEIdAltLItem | ( | ) | [inline, virtual] |
| void PlexSEIdAltLItem::AddToTime | ( | Double_t | tadd | ) | [inline] |
| void PlexSEIdAltLItem::AddToWeight | ( | Float_t | wgtadd | ) | [inline] |
| Float_t PlexSEIdAltLItem::GetPE | ( | ) | const [inline] |
Definition at line 57 of file PlexSEIdAltLItem.h.
References fPE.
Referenced by DigitText::AddPlexSEIdAltLItemText(), UberDST::Ana(), AltDeMuxDisplay::Ana(), AltDeMuxCalc::CalcBestEast(), AltDeMuxCalc::CalcBestWest(), AltDeMuxCalc::CalcEast(), AltDeMuxCalc::CalcWest(), AltDeMuxCalc::CurrentQ(), DemuxFast::DemuxHitE(), AlgAltDeMuxBase::DeMuxHitE(), DemuxFast::DemuxHits(), DemuxFast::DemuxHitW(), AlgAltDeMuxBase::DeMuxHitW(), GfxDigitList::DigitMasked(), GfxDigitList::ExecuteEvent(), GfxDigitList::ExecuteEventDigit(), CandDigitHandle::GetCharge(), GfxDigitList::GetDigitColor(), GfxDigit::GetRelativeValue(), AlgAltDeMuxBase::IsXTalk(), AlgAltDeMuxBase::MakePixelMap(), UberModuleLite::Reco(), UberModule::Reco(), DemuxFast::Reco(), EVD::SetChargeRange(), EVD::UpdateChargeHists(), Mint::UpdateDigitRanges(), AlgAltDeMuxBase::UpdateXTalkMap(), AlgAltDeMuxBase::XTalkCharge(), and AlgAltDeMuxBase::XTalkPixelMap().
00057 { return fPE; }
| PlexPixelSpotId PlexSEIdAltLItem::GetPixelSpotId | ( | void | ) | const [inline] |
Definition at line 54 of file PlexSEIdAltLItem.h.
References fPixelSpotId.
Referenced by DigitText::AddPlexSEIdAltLItemText(), PmtPixels::Refresh(), and StripSRKeyFromTube().
00054 { return fPixelSpotId; }
| PlexStripEndId PlexSEIdAltLItem::GetSEId | ( | ) | const [inline] |
Definition at line 53 of file PlexSEIdAltLItem.h.
References fStripEndId.
Referenced by DigitText::AddPlexSEIdAltLItemText(), RateSummary::Ana(), GfxDigitList::ExecuteEvent(), GfxDigitList::ExecuteEventDigit(), PlexSEIdAltL::GetBestSEId(), PlexSEIdAltL::GetCurrentSEId(), GfxDigit::GetDiscreteCoords(), GfxDigit::GetRealCoords(), LIPatternFinderFancy::IsLightInjectionTrash(), GfxDigit::ModifyCoords(), less_altl_seid::operator()(), operator<<(), AlgTrackSRList::SpectrometerTracking(), and EVD::UpdateChargeHists().
00053 { return fStripEndId; }
| Float_t PlexSEIdAltLItem::GetSigCorr | ( | ) | const [inline] |
Definition at line 59 of file PlexSEIdAltLItem.h.
References fSigCorr.
Referenced by AltDeMuxDisplay::Ana(), AltDeMuxCalc::CalcBestEast(), AltDeMuxCalc::CalcBestWest(), AltDeMuxCalc::CalcEast(), AltDeMuxCalc::CalcWest(), AltDeMuxCalc::CurrentQ(), GfxDigitList::DigitMasked(), GfxDigitList::ExecuteEvent(), AlgAltDeMuxBase::FinalReTagCrossTalk(), CandDigitHandle::GetCharge(), GfxDigitList::GetDigitColor(), AlgAltDeMuxBase::IsXTalk(), AlgAltDeMuxBase::MakePixelMap(), EVD::SetChargeRange(), AlgAltDeMuxBase::UpdateXTalkMap(), AlgAltDeMuxBase::XTalkCharge(), and AlgAltDeMuxBase::XTalkPixelMap().
00059 { return fSigCorr; }
| Float_t PlexSEIdAltLItem::GetSigLin | ( | ) | const [inline] |
Definition at line 58 of file PlexSEIdAltLItem.h.
References fSigLin.
Referenced by AltDeMuxCalc::CalcBestEast(), AltDeMuxCalc::CalcBestWest(), AltDeMuxCalc::CalcEast(), AltDeMuxCalc::CalcWest(), GfxDigitList::DigitMasked(), GfxDigitList::ExecuteEvent(), CandDigitHandle::GetCharge(), GfxDigitList::GetDigitColor(), and EVD::SetChargeRange().
00058 { return fSigLin; }
| Double_t PlexSEIdAltLItem::GetTime | ( | void | ) | const [inline] |
Definition at line 60 of file PlexSEIdAltLItem.h.
References fTime.
Referenced by DigitText::AddPlexSEIdAltLItemText(), AltDeMuxDisplay::Ana(), AltDeMuxCalc::CalcBestEast(), AltDeMuxCalc::CalcBestWest(), AltDeMuxCalc::CalcEast(), AltDeMuxCalc::CalcWest(), GfxDigitList::DigitMasked(), GfxDigitList::ExecuteEvent(), GfxDigitList::ExecuteEventDigit(), GfxDigitList::GetDigitColor(), GfxDigit::GetRelativeValue(), CandDigitHandle::GetTime(), AlgAltDeMuxBase::IsXTalk(), CalHelpers::KeyFromTime(), AlgAltDeMuxBase::MakeAltListMap(), select_digit(), and Mint::UpdateDigitRanges().
00060 { return fTime; }
| Float_t PlexSEIdAltLItem::GetWeight | ( | ) | const [inline] |
Definition at line 55 of file PlexSEIdAltLItem.h.
References fWeight.
Referenced by DigitText::AddPlexSEIdAltLItemText(), FCPCFilterModule::Ana(), PlexSEIdAltL::GetBestWeight(), and PlexSEIdAltL::GetCurrentWeight().
00055 { return fWeight; }
| Bool_t PlexSEIdAltLItem::IsZeroWeight | ( | ) | const [inline] |
Definition at line 56 of file PlexSEIdAltLItem.h.
References fWeight.
Referenced by GfxDigitList::Configure(), and PlexSEIdAltL::DropZeroWeights().
00056 { return fWeight == 0; }
| void PlexSEIdAltLItem::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Definition at line 42 of file PlexSEIdAltLItem.cxx.
References PlexPixelSpotId::AsString(), PlexStripEndId::AsString(), fPE, fPixelSpotId, fSigCorr, fSigLin, fStripEndId, fTime, and fWeight.
00043 { 00044 switch (option[0]) { 00045 case 'c': 00046 printf("%s | %9.4f | %6.1f | %9f | %9f | %9f ", 00047 fStripEndId.AsString("C"),fWeight,fPE,fSigLin,fSigCorr,fTime); 00048 break; 00049 default: 00050 00051 printf("%s %s wgt=%10f pe=%6.1f lin=%10f corr=%10f time=%10f ", 00052 fStripEndId.AsString("C"),fPixelSpotId.AsString("c"), 00053 fWeight,fPE,fSigLin,fSigCorr,fTime); 00054 } 00055 }
| void PlexSEIdAltLItem::SetPE | ( | Float_t | pe | ) | [inline] |
| void PlexSEIdAltLItem::SetSigCorr | ( | Float_t | sigcorr | ) | [inline] |
| void PlexSEIdAltLItem::SetSigLin | ( | Float_t | siglin | ) | [inline] |
| void PlexSEIdAltLItem::SetTime | ( | Double_t | time | ) | [inline] |
| void PlexSEIdAltLItem::SetWeight | ( | Float_t | wgt | ) | [inline] |
Definition at line 62 of file PlexSEIdAltLItem.h.
References fWeight.
Referenced by PlexSEIdAltL::AddStripEndId().
00062 { fWeight = wgt; }
| Bool_t operator< | ( | const PlexSEIdAltLItem & | lhs, | |
| const PlexSEIdAltLItem & | rhs | |||
| ) | [friend] |
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const PlexSEIdAltLItem & | item | |||
| ) | [friend] |
Definition at line 24 of file PlexSEIdAltLItem.cxx.
00025 { 00026 00027 MsgFormat f10("%10.5f"); 00028 00029 os << " " << item.fStripEndId 00030 << " " << item.fPixelSpotId 00031 << " wgt=" << f10(item.fWeight) 00032 << " pe=" << f10(item.fPE) 00033 << " lin=" << f10(item.fSigLin) 00034 << " corr=" << f10(item.fSigCorr) 00035 << " time=" << f10(item.fTime) 00036 << " " << endl; 00037 00038 return os; 00039 }
| Bool_t operator== | ( | const PlexSEIdAltLItem & | lhs, | |
| const PlexSEIdAltLItem & | rhs | |||
| ) | [friend] |
Definition at line 97 of file PlexSEIdAltLItem.h.
00099 { 00100 return lhs.fStripEndId == rhs.fStripEndId; 00101 }
Float_t PlexSEIdAltLItem::fPE [protected] |
PlexPixelSpotId PlexSEIdAltLItem::fPixelSpotId [protected] |
Float_t PlexSEIdAltLItem::fSigCorr [protected] |
Definition at line 88 of file PlexSEIdAltLItem.h.
Referenced by GetSigCorr(), Print(), and SetSigCorr().
Float_t PlexSEIdAltLItem::fSigLin [protected] |
Definition at line 87 of file PlexSEIdAltLItem.h.
Referenced by GetSigLin(), Print(), and SetSigLin().
PlexStripEndId PlexSEIdAltLItem::fStripEndId [protected] |
Definition at line 83 of file PlexSEIdAltLItem.h.
Referenced by GetSEId(), operator==(), and Print().
Double_t PlexSEIdAltLItem::fTime [protected] |
Definition at line 89 of file PlexSEIdAltLItem.h.
Referenced by AddToTime(), GetTime(), Print(), and SetTime().
Float_t PlexSEIdAltLItem::fWeight [protected] |
Definition at line 85 of file PlexSEIdAltLItem.h.
Referenced by AddToWeight(), GetWeight(), IsZeroWeight(), operator<(), Print(), and SetWeight().
1.4.7