RawMCDigitMixIn Class Reference

#include <RawMCDigitMixIn.h>

Inheritance diagram for RawMCDigitMixIn:
RawQieMCDigit RawVaMCDigit

List of all members.

Public Member Functions

 RawMCDigitMixIn ()
 RawMCDigitMixIn (const Int_t *&p, const RawCrateStatus *cstat)
virtual ~RawMCDigitMixIn ()
Int_t GetTrueSEIdEncoded (void) const

Protected Member Functions

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

Protected Attributes

Int_t fTrueSEIdEncoded

Detailed Description

Definition at line 25 of file RawMCDigitMixIn.h.


Constructor & Destructor Documentation

RawMCDigitMixIn::RawMCDigitMixIn (  ) 

Definition at line 21 of file RawMCDigitMixIn.cxx.

00022    : fTrueSEIdEncoded(0)
00023 {
00024    // Default constructor
00025 }

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

Definition at line 28 of file RawMCDigitMixIn.cxx.

References ProcessMCWords().

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

RawMCDigitMixIn::~RawMCDigitMixIn (  )  [virtual]

Definition at line 50 of file RawMCDigitMixIn.cxx.

00051 {
00052 }


Member Function Documentation

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

Reimplemented in RawQieMCDigit, and RawVaMCDigit.

Definition at line 55 of file RawMCDigitMixIn.cxx.

References fTrueSEIdEncoded.

00057 {
00058    os << " " << fTrueSEIdEncoded;
00059    return os;
00060 }

Int_t RawMCDigitMixIn::GetTrueSEIdEncoded ( void   )  const [inline]

Definition at line 33 of file RawMCDigitMixIn.h.

References fTrueSEIdEncoded.

Referenced by RerootToRawDataModule::Reco(), and AlgMCDigit::RunAlg().

00033 { return fTrueSEIdEncoded; }

void RawMCDigitMixIn::ProcessMCWords ( const Int_t *&  p,
const RawCrateStatus cstat 
) [protected]

Definition at line 34 of file RawMCDigitMixIn.cxx.

References fTrueSEIdEncoded.

Referenced by RawMCDigitMixIn(), RawQieMCDigit::RawQieMCDigit(), and RawVaMCDigit::RawVaMCDigit().

00036 {
00037 
00038    fTrueSEIdEncoded = p[0];
00039 
00040 #ifdef RWHDEBUG
00041    cout << "RawMCDigitMixIn 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 41 of file RawMCDigitMixIn.h.

Referenced by FormatToOStream(), GetTrueSEIdEncoded(), and ProcessMCWords().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1