RawDigiDigitMixIn Class Reference

#include <RawDigiDigitMixIn.h>

Inheritance diagram for RawDigiDigitMixIn:
RawQieDigiDigit RawVaDigiDigit

List of all members.

Public Member Functions

 RawDigiDigitMixIn ()
 RawDigiDigitMixIn (const Int_t *&p, const RawCrateStatus *cstat)
virtual ~RawDigiDigitMixIn ()
Int_t GetDigiSignalIndex (void) const

Protected Member Functions

void ProcessDigiWords (const Int_t *&p, const RawCrateStatus *cstat)
virtual std::ostream & FormatToOStream (std::ostream &os, Option_t *option="") const

Protected Attributes

Int_t fDigiSignalIndex

Detailed Description

Definition at line 26 of file RawDigiDigitMixIn.h.


Constructor & Destructor Documentation

RawDigiDigitMixIn::RawDigiDigitMixIn (  ) 

Definition at line 21 of file RawDigiDigitMixIn.cxx.

00022    : fDigiSignalIndex(-1)
00023 {
00024    // Default constructor
00025 }

RawDigiDigitMixIn::RawDigiDigitMixIn ( const Int_t *&  p,
const RawCrateStatus cstat 
)

Definition at line 28 of file RawDigiDigitMixIn.cxx.

References ProcessDigiWords().

00029 {
00030    ProcessDigiWords(p,cstat);
00031 }

RawDigiDigitMixIn::~RawDigiDigitMixIn (  )  [virtual]

Definition at line 50 of file RawDigiDigitMixIn.cxx.

00051 {
00052 }


Member Function Documentation

std::ostream & RawDigiDigitMixIn::FormatToOStream ( std::ostream &  os,
Option_t *  option = "" 
) const [protected, virtual]

Reimplemented in RawQieDigiDigit, and RawVaDigiDigit.

Definition at line 55 of file RawDigiDigitMixIn.cxx.

References fDigiSignalIndex.

00057 {
00058    os << " Signal:" << fDigiSignalIndex;
00059    return os;
00060 }

Int_t RawDigiDigitMixIn::GetDigiSignalIndex ( void   )  const [inline]

Definition at line 34 of file RawDigiDigitMixIn.h.

References fDigiSignalIndex.

Referenced by MnvRawDigitSuppression::FindMCTDCMinMax(), and Truthifier::GetSignal().

00034 { return fDigiSignalIndex; }

void RawDigiDigitMixIn::ProcessDigiWords ( const Int_t *&  p,
const RawCrateStatus cstat 
) [protected]

Definition at line 34 of file RawDigiDigitMixIn.cxx.

References fDigiSignalIndex.

Referenced by RawDigiDigitMixIn(), RawQieDigiDigit::RawQieDigiDigit(), and RawVaDigiDigit::RawVaDigiDigit().

00036 {
00037 
00038    fDigiSignalIndex = p[0];
00039 
00040 #ifdef RWHDEBUG
00041    cout << "RawDigiDigitMixIn started with p= " << p << endl;
00042 #endif 
00043 
00044    // processing eat up 1 extra word
00045    p += 1;
00046 
00047 }


Member Data Documentation

Definition at line 42 of file RawDigiDigitMixIn.h.

Referenced by FormatToOStream(), GetDigiSignalIndex(), and ProcessDigiWords().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1