PlexSEIdAltLItem Class Reference

#include <PlexSEIdAltLItem.h>

List of all members.

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)

Detailed Description

Definition at line 25 of file PlexSEIdAltLItem.h.


Constructor & Destructor Documentation

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]

Definition at line 51 of file PlexSEIdAltLItem.h.

References LEA_DTOR.

00051 { LEA_DTOR; } // dtor


Member Function Documentation

void PlexSEIdAltLItem::AddToTime ( Double_t  tadd  )  [inline]

Definition at line 70 of file PlexSEIdAltLItem.h.

References fTime.

00070 { fTime += tadd; }

void PlexSEIdAltLItem::AddToWeight ( Float_t  wgtadd  )  [inline]

Definition at line 63 of file PlexSEIdAltLItem.h.

References fWeight.

00063 { fWeight += wgtadd; }

Float_t PlexSEIdAltLItem::GetPE (  )  const [inline]
PlexPixelSpotId PlexSEIdAltLItem::GetPixelSpotId ( void   )  const [inline]
PlexStripEndId PlexSEIdAltLItem::GetSEId (  )  const [inline]
Float_t PlexSEIdAltLItem::GetSigCorr (  )  const [inline]
Float_t PlexSEIdAltLItem::GetSigLin (  )  const [inline]
Double_t PlexSEIdAltLItem::GetTime ( void   )  const [inline]
Float_t PlexSEIdAltLItem::GetWeight (  )  const [inline]
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 PlexStripEndId::AsString(), PlexPixelSpotId::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]

Definition at line 65 of file PlexSEIdAltLItem.h.

References fPE.

00065 { fPE = pe; }

void PlexSEIdAltLItem::SetSigCorr ( Float_t  sigcorr  )  [inline]

Definition at line 67 of file PlexSEIdAltLItem.h.

References fSigCorr.

00067 { fSigCorr = sigcorr; }

void PlexSEIdAltLItem::SetSigLin ( Float_t  siglin  )  [inline]

Definition at line 66 of file PlexSEIdAltLItem.h.

References fSigLin.

00066 { fSigLin = siglin; }

void PlexSEIdAltLItem::SetTime ( Double_t  time  )  [inline]

Definition at line 68 of file PlexSEIdAltLItem.h.

References fTime.

00068 { fTime = time; }

void PlexSEIdAltLItem::SetWeight ( Float_t  wgt  )  [inline]

Definition at line 62 of file PlexSEIdAltLItem.h.

References fWeight.

Referenced by PlexSEIdAltL::AddStripEndId().

00062 { fWeight = wgt; }


Friends And Related Function Documentation

Bool_t operator< ( const PlexSEIdAltLItem lhs,
const PlexSEIdAltLItem rhs 
) [friend]
std::ostream& operator<< ( std::ostream &  os,
const PlexSEIdAltLItem item 
) [friend]
Bool_t operator== ( const PlexSEIdAltLItem lhs,
const PlexSEIdAltLItem rhs 
) [friend]

Member Data Documentation

Float_t PlexSEIdAltLItem::fPE [protected]

Definition at line 86 of file PlexSEIdAltLItem.h.

Referenced by GetPE(), Print(), and SetPE().

Definition at line 84 of file PlexSEIdAltLItem.h.

Referenced by GetPixelSpotId(), and Print().

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().

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().


The documentation for this class was generated from the following files:

Generated on 13 Sep 2017 for loon by  doxygen 1.6.1