CandDeMuxDigitListHandle Class Reference

#include <CandDeMuxDigitListHandle.h>

Inheritance diagram for CandDeMuxDigitListHandle:

CandDigitListHandle CandHandle List of all members.

Public Member Functions

 CandDeMuxDigitListHandle ()
 CandDeMuxDigitListHandle (const CandDeMuxDigitListHandle &cdlh)
 CandDeMuxDigitListHandle (CandDeMuxDigitList *cdl)
virtual ~CandDeMuxDigitListHandle ()
virtual CandDeMuxDigitListHandleDupHandle () const
Int_t GetDeMuxDigitListFlagWord () const
Int_t GetNumValidPlanesU () const
Int_t GetNumValidPlanesV () const
Int_t GetNumStrayPlanesU () const
Int_t GetNumStrayPlanesV () const
Float_t GetAvgTimeOffset () const
void SetDeMuxDigitListFlagBit (CandDeMuxDigitList::DeMuxDigitListFlag_t ddlflag)
void SetDeMuxDigitListFlagWord (Int_t ddlflag)
void SetNumValidPlanesU (Int_t numvalidplanesu)
void SetNumValidPlanesV (Int_t numvalidplanesv)
void SetNumStrayPlanesU (Int_t numstrayplanesu)
void SetNumStrayPlanesV (Int_t numstrayplanesv)
void SetAvgTimeOffset (Float_t avgtimeoffset)
void UnSetDeMuxDigitListFlagBit (CandDeMuxDigitList::DeMuxDigitListFlag_t ddlflag)
virtual void Trace (const char *c="") const

Detailed Description

Definition at line 20 of file CandDeMuxDigitListHandle.h.


Constructor & Destructor Documentation

CandDeMuxDigitListHandle::CandDeMuxDigitListHandle (  ) 

Definition at line 26 of file CandDeMuxDigitListHandle.cxx.

Referenced by DupHandle().

00027 {
00028 }

CandDeMuxDigitListHandle::CandDeMuxDigitListHandle ( const CandDeMuxDigitListHandle cdlh  ) 

Definition at line 32 of file CandDeMuxDigitListHandle.cxx.

00032                                                                        :
00033   CandDigitListHandle(cdlh)
00034 {
00035 }

CandDeMuxDigitListHandle::CandDeMuxDigitListHandle ( CandDeMuxDigitList cdl  ) 

Definition at line 39 of file CandDeMuxDigitListHandle.cxx.

00039                                                                        :
00040   CandDigitListHandle(cdl)
00041 {
00042 }

CandDeMuxDigitListHandle::~CandDeMuxDigitListHandle (  )  [virtual]

Definition at line 45 of file CandDeMuxDigitListHandle.cxx.

00046 {
00047 }


Member Function Documentation

CandDeMuxDigitListHandle * CandDeMuxDigitListHandle::DupHandle (  )  const [virtual]

Reimplemented from CandDigitListHandle.

Definition at line 50 of file CandDeMuxDigitListHandle.cxx.

References CandDeMuxDigitListHandle().

00051 {
00052    return (new CandDeMuxDigitListHandle(*this));
00053 }

Float_t CandDeMuxDigitListHandle::GetAvgTimeOffset (  )  const

Definition at line 86 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetCandBase().

Referenced by NtpSRModule::FillNtpDmxStatus().

00087 {
00088    return ((CandDeMuxDigitList *) GetCandBase())->fAvgTimeOffset;
00089 }

Int_t CandDeMuxDigitListHandle::GetDeMuxDigitListFlagWord (  )  const

Definition at line 56 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetCandBase().

Referenced by NtpMaker::FillDeMuxInfo(), NtpSRModule::FillNtpDmxStatus(), and AlgDeMuxDigitList::RunAlg().

00057 {
00058    return ((CandDeMuxDigitList *) GetCandBase())->fDeMuxDigitListFlag;
00059 }

Int_t CandDeMuxDigitListHandle::GetNumStrayPlanesU (  )  const

Definition at line 74 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetCandBase().

Referenced by NtpSRModule::FillNtpDmxStatus().

00075 {
00076    return ((CandDeMuxDigitList *) GetCandBase())->fNumStrayPlanesU;
00077 }

Int_t CandDeMuxDigitListHandle::GetNumStrayPlanesV (  )  const

Definition at line 80 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetCandBase().

Referenced by NtpSRModule::FillNtpDmxStatus().

00081 {
00082    return ((CandDeMuxDigitList *) GetCandBase())->fNumStrayPlanesV;
00083 }

Int_t CandDeMuxDigitListHandle::GetNumValidPlanesU (  )  const

Definition at line 62 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetCandBase().

Referenced by NtpSRModule::FillNtpDmxStatus().

00063 {
00064    return ((CandDeMuxDigitList *) GetCandBase())->fNumValidPlanesU;
00065 }

Int_t CandDeMuxDigitListHandle::GetNumValidPlanesV (  )  const

Definition at line 68 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetCandBase().

Referenced by NtpSRModule::FillNtpDmxStatus().

00069 {
00070    return ((CandDeMuxDigitList *) GetCandBase())->fNumValidPlanesV;
00071 }

void CandDeMuxDigitListHandle::SetAvgTimeOffset ( Float_t  avgtimeoffset  ) 

Definition at line 139 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetOwnedCandBase().

00140 {
00141    ((CandDeMuxDigitList *) GetOwnedCandBase())->fAvgTimeOffset =
00142                                                           avgtimeoffset;
00143 }

void CandDeMuxDigitListHandle::SetDeMuxDigitListFlagBit ( CandDeMuxDigitList::DeMuxDigitListFlag_t  ddlflag  ) 

Definition at line 92 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetCandBase(), and CandHandle::GetOwnedCandBase().

Referenced by AlgAltDeMux::DeMuxGoldenHits().

00094 {
00095 
00096 // Turn indicated bit(s) on
00097   ((CandDeMuxDigitList *) GetOwnedCandBase())->fDeMuxDigitListFlag =
00098   ((CandDeMuxDigitList *) GetCandBase())->fDeMuxDigitListFlag | ddlflag;
00099 }

void CandDeMuxDigitListHandle::SetDeMuxDigitListFlagWord ( Int_t  ddlflag  ) 

Definition at line 102 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetOwnedCandBase().

00103 {
00104 
00105 // Set whole word
00106    ((CandDeMuxDigitList *) GetOwnedCandBase())->fDeMuxDigitListFlag =
00107                                                                 ddlflag;
00108 }

void CandDeMuxDigitListHandle::SetNumStrayPlanesU ( Int_t  numstrayplanesu  ) 

Definition at line 125 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetOwnedCandBase().

00126 {
00127    ((CandDeMuxDigitList *) GetOwnedCandBase())->fNumStrayPlanesU =
00128                                                         numstrayplanesu;
00129 }

void CandDeMuxDigitListHandle::SetNumStrayPlanesV ( Int_t  numstrayplanesv  ) 

Definition at line 132 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetOwnedCandBase().

00133 {
00134    ((CandDeMuxDigitList *) GetOwnedCandBase())->fNumStrayPlanesV =
00135                                                         numstrayplanesv;
00136 }

void CandDeMuxDigitListHandle::SetNumValidPlanesU ( Int_t  numvalidplanesu  ) 

Definition at line 111 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgAltDeMux::DeMuxGoldenHits().

00112 {
00113    ((CandDeMuxDigitList *) GetOwnedCandBase())->fNumValidPlanesU =
00114                                                         numvalidplanesu;
00115 }

void CandDeMuxDigitListHandle::SetNumValidPlanesV ( Int_t  numvalidplanesv  ) 

Definition at line 118 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgAltDeMux::DeMuxGoldenHits().

00119 {
00120    ((CandDeMuxDigitList *) GetOwnedCandBase())->fNumValidPlanesV =
00121                                                         numvalidplanesv;
00122 }

void CandDeMuxDigitListHandle::Trace ( const char *  c = ""  )  const [virtual]

Reimplemented from CandDigitListHandle.

Definition at line 156 of file CandDeMuxDigitListHandle.cxx.

References Msg::kDebug, MSG, and CandDigitListHandle::Trace().

00157 {
00158   MSG("Cand", Msg::kDebug)
00159    << "**********Begin CandDeMuxDigitListHandle::Trace(\"" << c << "\")"
00160    << endl
00161       << "Information from CandDeMuxDigitListHandle's CandDigitHandle: "
00162       << endl;
00163   CandDigitListHandle::Trace(c);
00164   MSG("Cand", Msg::kDebug)
00165      << "**********End CandDeMuxDigitListHandle::Trace(\"" << c << "\")"
00166      << endl;
00167 }

void CandDeMuxDigitListHandle::UnSetDeMuxDigitListFlagBit ( CandDeMuxDigitList::DeMuxDigitListFlag_t  ddlflag  ) 

Definition at line 146 of file CandDeMuxDigitListHandle.cxx.

References CandHandle::GetCandBase(), and CandHandle::GetOwnedCandBase().

00148 {
00149 
00150 // Turn indicated bit(s) off
00151  ((CandDeMuxDigitList *) GetOwnedCandBase())->fDeMuxDigitListFlag =
00152  ((CandDeMuxDigitList *) GetCandBase())->fDeMuxDigitListFlag & ~ddlflag;
00153 }


The documentation for this class was generated from the following files:
Generated on Fri Oct 10 22:45:23 2014 for loon by  doxygen 1.4.7