CandDataQuality Class Reference

#include <CandDataQuality.h>

Inheritance diagram for CandDataQuality:
CandBase CandRefCounted

List of all members.

Public Types

enum  EDataQuality {
  kOkay = 0x00, kBad = 0x01, kLowMultiplicity = 0x02, kHighMultiplicity = 0x04,
  kLightInjection = 0x08, kTimeFrameBoundary = 0x10, kManyColdChips = 0x20, kManyHotChips = 0x40,
  kManyBusyChips = 0x80, kManyReadoutErrors = 0x100, kFailed = 0x1000
}
typedef enum
CandDataQuality::EDataQuality 
DataQuality_t

Public Member Functions

 CandDataQuality ()

Static Public Member Functions

static CandDataQualityHandle MakeCandidate (AlgHandle &ah, CandContext &ch)

Protected Member Functions

 CandDataQuality (AlgHandle &ah)
 CandDataQuality (AlgHandle &ah, CandHandle &ch, CandContext &cx)
 CandDataQuality (const CandDataQuality &rhs)
virtual ~CandDataQuality ()
virtual CandDataQualityDup () const
virtual void CreateLocalHandle ()

Private Attributes

Int_t fTime
Int_t fRunType
Int_t fRun
Int_t fSubRun
Int_t fTimeFrame
Int_t fSnarl
Int_t fTriggerSource
Int_t fTriggerTime
Int_t fErrorCode
Int_t fCrateMask
Int_t fPreTriggerDigits
Int_t fPostTriggerDigits
Int_t fSnarlMultiplicity
Int_t fSpillStatus
Int_t fSpillType
Int_t fSpillTimeError
Int_t fLiTrigger
Int_t fLiTime
Int_t fLiSubtractedTime
Int_t fLiRelativeTime
Int_t fLiCalibPoint
Int_t fLiCalibType
Int_t fLiPulserBox
Int_t fLiPulserLed
Int_t fLiPulseHeight
Int_t fLiPulseWidth
CandDataQuality::DataQuality_t fDataQuality

Friends

class CandDataQualityHandle

Detailed Description

Definition at line 10 of file CandDataQuality.h.


Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
kOkay 
kBad 
kLowMultiplicity 
kHighMultiplicity 
kLightInjection 
kTimeFrameBoundary 
kManyColdChips 
kManyHotChips 
kManyBusyChips 
kManyReadoutErrors 
kFailed 

Definition at line 15 of file CandDataQuality.h.

00015                             {
00016     kOkay = 0x00,
00017     kBad = 0x01,
00018     kLowMultiplicity = 0x02,
00019     kHighMultiplicity = 0x04,
00020     kLightInjection = 0x08,
00021     kTimeFrameBoundary=0x10,
00022     kManyColdChips = 0x20,
00023     kManyHotChips = 0x40,
00024     kManyBusyChips = 0x80,
00025     kManyReadoutErrors = 0x100,
00026     kFailed = 0x1000
00027   } DataQuality_t;


Constructor & Destructor Documentation

CandDataQuality::CandDataQuality (  ) 

Definition at line 11 of file CandDataQuality.cxx.

Referenced by Dup(), and MakeCandidate().

00011                                  :
00012   fTime(-1),
00013   fRunType(-1),
00014   fRun(-1),
00015   fSubRun(-1),
00016   fTimeFrame(-1),
00017   fSnarl(-1),
00018   fTriggerSource(-1),
00019   fTriggerTime(-1),
00020   fErrorCode(0),
00021   fCrateMask(0),
00022   fPreTriggerDigits(0),
00023   fPostTriggerDigits(0),
00024   fSpillStatus(-1),
00025   fSpillType(-1),
00026   fSpillTimeError(-1),
00027   fLiTrigger(0),
00028   fLiTime(-99999),
00029   fLiSubtractedTime(-99999),
00030   fLiRelativeTime(-99999),
00031   fLiCalibPoint(-1),
00032   fLiCalibType(-1),
00033   fLiPulserBox(-1),
00034   fLiPulserLed(-1),
00035   fLiPulseHeight(-1),
00036   fLiPulseWidth(-1),
00037   fDataQuality(CandDataQuality::kOkay)
00038 {
00039 
00040 }

CandDataQuality::CandDataQuality ( AlgHandle ah  )  [protected]

Definition at line 42 of file CandDataQuality.cxx.

00042                                               :
00043   CandBase(ah),
00044   fTime(-1),
00045   fRunType(-1),
00046   fRun(-1),
00047   fSubRun(-1),
00048   fTimeFrame(-1),
00049   fSnarl(-1),
00050   fTriggerSource(-1),
00051   fTriggerTime(-1),
00052   fErrorCode(0),
00053   fCrateMask(0),
00054   fPreTriggerDigits(0),
00055   fPostTriggerDigits(0),
00056   fSpillStatus(-1),
00057   fSpillType(-1),
00058   fSpillTimeError(-1),
00059   fLiTrigger(0),
00060   fLiTime(-99999),
00061   fLiSubtractedTime(-99999),
00062   fLiRelativeTime(-99999),
00063   fLiCalibPoint(-1),
00064   fLiCalibType(-1),
00065   fLiPulserBox(-1),
00066   fLiPulserLed(-1),
00067   fLiPulseHeight(-1),
00068   fLiPulseWidth(-1),
00069   fDataQuality(CandDataQuality::kOkay)
00070 {
00071 
00072 }

CandDataQuality::CandDataQuality ( AlgHandle ah,
CandHandle ch,
CandContext cx 
) [protected]

Definition at line 74 of file CandDataQuality.cxx.

References CandDataQualityHandle, AlgHandle::RunAlg(), and CandBase::SetLocalHandle().

00074                                                                                :
00075   CandBase(ah),
00076   fTime(-1),
00077   fRunType(-1),
00078   fRun(-1),
00079   fSubRun(-1),
00080   fTimeFrame(-1),
00081   fSnarl(-1),
00082   fTriggerSource(-1),
00083   fTriggerTime(-1),
00084   fErrorCode(0),
00085   fCrateMask(0),
00086   fPreTriggerDigits(0),
00087   fPostTriggerDigits(0),
00088   fSpillStatus(-1),
00089   fSpillType(-1),
00090   fSpillTimeError(-1),
00091   fLiTrigger(0),
00092   fLiTime(-99999),
00093   fLiSubtractedTime(-99999),
00094   fLiRelativeTime(-99999),
00095   fLiCalibPoint(-1),
00096   fLiCalibType(-1),
00097   fLiPulserBox(-1),
00098   fLiPulserLed(-1),
00099   fLiPulseHeight(-1),
00100   fLiPulseWidth(-1),
00101   fDataQuality(CandDataQuality::kOkay)
00102 {
00103   SetLocalHandle(new CandDataQualityHandle(this));
00104   { CandDataQualityHandle cth(this); ch = cth; }
00105   ah.RunAlg(ch, cx);
00106 }

CandDataQuality::CandDataQuality ( const CandDataQuality rhs  )  [protected]

Definition at line 108 of file CandDataQuality.cxx.

CandDataQuality::~CandDataQuality (  )  [protected, virtual]

Definition at line 141 of file CandDataQuality.cxx.

00142 {
00143 
00144 }


Member Function Documentation

void CandDataQuality::CreateLocalHandle (  )  [protected, virtual]

Implements CandBase.

Definition at line 156 of file CandDataQuality.cxx.

References CandDataQualityHandle, and CandBase::SetLocalHandle().

Referenced by Dup().

00157 {
00158   this->SetLocalHandle(new CandDataQualityHandle(this));
00159 }

CandDataQuality * CandDataQuality::Dup (  )  const [protected, virtual]

Implements CandBase.

Definition at line 146 of file CandDataQuality.cxx.

References CandBase::AddDaughterLink(), CandDataQuality(), CreateLocalHandle(), and CandBase::GetDaughterIterator().

00147 {
00148   CandDataQuality *cb = new CandDataQuality(*this);
00149   cb->CreateLocalHandle();
00150   TIter iterdau = GetDaughterIterator();
00151   CandHandle *dau;
00152   while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00153   return cb;
00154 }

CandDataQualityHandle CandDataQuality::MakeCandidate ( AlgHandle ah,
CandContext ch 
) [static]

Definition at line 161 of file CandDataQuality.cxx.

References CandDataQuality().

Referenced by DataQualityReader::Reco().

00162 {
00163   CandDataQualityHandle cdh;
00164   new CandDataQuality(ah,cdh,cx);
00165   return cdh;
00166 }


Friends And Related Function Documentation

friend class CandDataQualityHandle [friend]

Definition at line 12 of file CandDataQuality.h.

Referenced by CandDataQuality(), and CreateLocalHandle().


Member Data Documentation

Int_t CandDataQuality::fCrateMask [private]

Definition at line 51 of file CandDataQuality.h.

Definition at line 69 of file CandDataQuality.h.

Int_t CandDataQuality::fErrorCode [private]

Definition at line 50 of file CandDataQuality.h.

Definition at line 62 of file CandDataQuality.h.

Definition at line 63 of file CandDataQuality.h.

Definition at line 66 of file CandDataQuality.h.

Definition at line 64 of file CandDataQuality.h.

Definition at line 65 of file CandDataQuality.h.

Definition at line 67 of file CandDataQuality.h.

Definition at line 61 of file CandDataQuality.h.

Definition at line 60 of file CandDataQuality.h.

Int_t CandDataQuality::fLiTime [private]

Definition at line 59 of file CandDataQuality.h.

Int_t CandDataQuality::fLiTrigger [private]

Definition at line 58 of file CandDataQuality.h.

Definition at line 53 of file CandDataQuality.h.

Definition at line 52 of file CandDataQuality.h.

Int_t CandDataQuality::fRun [private]

Definition at line 44 of file CandDataQuality.h.

Int_t CandDataQuality::fRunType [private]

Definition at line 43 of file CandDataQuality.h.

Int_t CandDataQuality::fSnarl [private]

Definition at line 47 of file CandDataQuality.h.

Definition at line 54 of file CandDataQuality.h.

Definition at line 55 of file CandDataQuality.h.

Definition at line 57 of file CandDataQuality.h.

Int_t CandDataQuality::fSpillType [private]

Definition at line 56 of file CandDataQuality.h.

Int_t CandDataQuality::fSubRun [private]

Definition at line 45 of file CandDataQuality.h.

Int_t CandDataQuality::fTime [private]

Definition at line 42 of file CandDataQuality.h.

Int_t CandDataQuality::fTimeFrame [private]

Definition at line 46 of file CandDataQuality.h.

Definition at line 48 of file CandDataQuality.h.

Definition at line 49 of file CandDataQuality.h.


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1