Data Structures | Public Member Functions | Protected Member Functions | Protected Attributes

TFiberHodProc Class Reference

#include <TFiberHodProc.h>

Inheritance diagram for TFiberHodProc:
Inheritance graph
[legend]
Collaboration diagram for TFiberHodProc:
Collaboration graph
[legend]

Data Structures

struct  adccompare
struct  clusterbankentry_t
struct  decodingentry_t
struct  hitbankentry_t

Public Member Functions

 TFiberHodProc ()
 TFiberHodProc (const char *name)
virtual ~TFiberHodProc ()
virtual void InitEvent (TGo4EventElement *)
virtual void FinalizeEvent ()
virtual Bool_t BuildEvent (TGo4EventElement *)
virtual void ProcessSubevent (TGo4MbsSubEvent *subevt)
Short_t GetTriggerNumber () const
Int_t GetEventNumber () const
Long_t ExecuteScript (const char *script_name)

Protected Member Functions

void InitializeDecoding (Int_t altflag=0)
void PrintAllHits ()
void PrintAllClusters ()
void AddSubProcessor (TCBMBeamtimeProc *)

Protected Attributes

TFiberHodParamfParam
decodingentry_t fDecoding [128]
 configuration parameter
TRocEventfRocEvent
 index: channelnr
TFiberHodEventfHodEvent
 event element with original data from ROC
std::vector< hitbankentry_tfHitbank
 result of cluster finding
std::vector< clusterbankentry_tfClusterbank
 hits are not stored
Int_t fSingleEventSlice
 clusters are not stored
TH2 * hSingleEventHit2D
TH2 * hSingleEventCluster2D [5]
 do not store histograms to output event
TH1 * hMaxCh
 do not store histograms to output event
TH1 * hMaxFiberall
 do not store histograms to output event
TH1 * hMaxFiberpl1
 do not store histograms to output event
TH1 * hMaxFiberpl2
 do not store histograms to output event
TH1 * hADC
 do not store histograms to output event
TH2 * hMaxADC
 histogram with max ADC values
TH2 * hMaxADCraw
 do not store histograms to output event
TH2 * hMaxFiber2D
 do not store histograms to output event
TH1 * hNrHits
 do not store histograms to output event
TH1 * hNrClusters
 number of initial hits
TH2 * hNrClusters2D
 do not store histograms to output event
TH1 * hMaxClusterTimediff
 do not store histograms to output event
TH1 * hPosition2D
 do not store histograms to output event
TGo4WinCond * fADC_cond
 do not store histograms to output event
TCBMBeamtimeEventfBeamtimeEvent
TGo4MbsEvent * fMbsInput
Short_t fMbsTriggerNumber
Int_t fMbsEventNumber

Detailed Description

Definition at line 11 of file TFiberHodProc.h.


Constructor & Destructor Documentation

TFiberHodProc::TFiberHodProc (  ) 

Definition at line 26 of file TFiberHodProc.cxx.

TFiberHodProc::TFiberHodProc ( const char *  name  ) 
TFiberHodProc::~TFiberHodProc (  )  [virtual]

Definition at line 102 of file TFiberHodProc.cxx.


Member Function Documentation

void TCBMBeamtimeProc::AddSubProcessor ( TCBMBeamtimeProc proc  )  [protected, inherited]
Bool_t TCBMBeamtimeProc::BuildEvent ( TGo4EventElement *  outevnt  )  [virtual, inherited]
Long_t TCBMBeamtimeProc::ExecuteScript ( const char *  script_name  )  [inherited]

Temporary here - will be from 4.5.3 version in distribution

Definition at line 142 of file TCBMBeamtimeProc.cxx.

Referenced by TCernOct12UnpackProc::TCernOct12UnpackProc(), TFaspProc::TFaspProc(), TFiberHodProc(), TSpadicV10Proc::TSpadicV10Proc(), and TTrbProc::TTrbProc().

void TFiberHodProc::FinalizeEvent (  )  [virtual]

Reimplemented from TCBMBeamtimeProc.

Definition at line 225 of file TFiberHodProc.cxx.

References TFiberHodEvent::hit_t::ADC, TFiberHodProc::hitbankentry_t::ADC, TFiberHodProc::hitbankentry_t::ADCraw, TFiberHodParam::Debug, fADC_cond, fClusterbank, fDecoding, TFiberHodProc::hitbankentry_t::FEBchannel, TRocData::fExtMessages, fHitbank, TFiberHodEvent::fHits, fHodEvent, TFiberHodProc::decodingentry_t::fiber, TFiberHodProc::hitbankentry_t::fiber, fParam, fRocEvent, fSingleEventSlice, TRocMessageExtended::GetCorrectedNxADC(), TRocMessageExtended::GetFullTime(), TRocMessageExtended::GetMessageType(), TRocMessageExtended::GetNxADC(), TRocMessageExtended::GetNxChNum(), TRocMessageExtended::GetNxNumber(), TRocMessageExtended::GetRocNumber(), TRocMessageExtended::GetTriggerDeltaT(), hADC, hMaxADC, hMaxADCraw, hMaxCh, hMaxClusterTimediff, hMaxFiber2D, hMaxFiberall, hMaxFiberpl1, hMaxFiberpl2, hNrClusters, hNrClusters2D, hNrHits, hPosition2D, hSingleEventCluster2D, hSingleEventHit2D, TFiberHodParam::MaxClusterDist, TFiberHodParam::MaxTimeDiff, TFiberHodProc::clusterbankentry_t::meanfiber, TFiberHodProc::clusterbankentry_t::meanposition, TFiberHodProc::clusterbankentry_t::meantime, TFiberHodProc::clusterbankentry_t::NrHits, TFiberHodEvent::hit_t::NumHits, TFiberHodParam::NxID, TFiberHodProc::clusterbankentry_t::plane, TFiberHodProc::decodingentry_t::plane, TFiberHodProc::hitbankentry_t::plane, TFiberHodProc::decodingentry_t::position, TFiberHodProc::hitbankentry_t::position, PrintAllClusters(), PrintAllHits(), TFiberHodParam::RocID, TFiberHodParam::SingleEventMode, TFiberHodProc::hitbankentry_t::status, TFiberHodProc::clusterbankentry_t::sumADC, TFiberHodEvent::hit_t::time, TFiberHodProc::hitbankentry_t::time, TFiberHodEvent::hit_t::X, and TFiberHodEvent::hit_t::Y.

Int_t TCBMBeamtimeProc::GetEventNumber (  )  const [inline, inherited]
Short_t TCBMBeamtimeProc::GetTriggerNumber (  )  const [inline, inherited]
void TFiberHodProc::InitEvent ( TGo4EventElement *  outevnt  )  [virtual]

Reimplemented from TCBMBeamtimeProc.

Definition at line 192 of file TFiberHodProc.cxx.

References fHodEvent, fRocEvent, and TCBMBeamtimeEvent::GetSubEvent().

void TFiberHodProc::InitializeDecoding ( Int_t  altflag = 0  )  [protected]
void TFiberHodProc::PrintAllClusters (  )  [protected]

Definition at line 476 of file TFiberHodProc.cxx.

References fClusterbank.

Referenced by FinalizeEvent().

void TFiberHodProc::PrintAllHits (  )  [protected]

Definition at line 468 of file TFiberHodProc.cxx.

References fHitbank.

Referenced by FinalizeEvent().

void TCBMBeamtimeProc::ProcessSubevent ( TGo4MbsSubEvent *  subevt  )  [virtual, inherited]

Field Documentation

TGo4WinCond* TFiberHodProc::fADC_cond [protected]

do not store histograms to output event

Definition at line 117 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

Definition at line 60 of file TCBMBeamtimeProc.h.

Referenced by TCBMBeamtimeProc::BuildEvent().

hits are not stored

Definition at line 94 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), PrintAllClusters(), and TFiberHodProc().

configuration parameter

Definition at line 87 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and InitializeDecoding().

std::vector<hitbankentry_t> TFiberHodProc::fHitbank [protected]

result of cluster finding

Definition at line 92 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), PrintAllHits(), and TFiberHodProc().

event element with original data from ROC

Definition at line 90 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and InitEvent().

Int_t TCBMBeamtimeProc::fMbsEventNumber [protected, inherited]
TGo4MbsEvent* TCBMBeamtimeProc::fMbsInput [protected, inherited]

Definition at line 61 of file TCBMBeamtimeProc.h.

Referenced by TCBMBeamtimeProc::BuildEvent().

Short_t TCBMBeamtimeProc::fMbsTriggerNumber [protected, inherited]

Definition at line 83 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), InitializeDecoding(), and TFiberHodProc().

index: channelnr

Definition at line 89 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and InitEvent().

clusters are not stored

Definition at line 96 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH1* TFiberHodProc::hADC [protected]

do not store histograms to output event

Definition at line 106 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH2* TFiberHodProc::hMaxADC [protected]

histogram with max ADC values

Definition at line 107 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH2* TFiberHodProc::hMaxADCraw [protected]

do not store histograms to output event

Definition at line 108 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH1* TFiberHodProc::hMaxCh [protected]

do not store histograms to output event

Definition at line 102 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

do not store histograms to output event

Definition at line 113 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH2* TFiberHodProc::hMaxFiber2D [protected]

do not store histograms to output event

Definition at line 109 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH1* TFiberHodProc::hMaxFiberall [protected]

do not store histograms to output event

Definition at line 103 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH1* TFiberHodProc::hMaxFiberpl1 [protected]

do not store histograms to output event

Definition at line 104 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH1* TFiberHodProc::hMaxFiberpl2 [protected]

do not store histograms to output event

Definition at line 105 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH1* TFiberHodProc::hNrClusters [protected]

number of initial hits

Definition at line 111 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH2* TFiberHodProc::hNrClusters2D [protected]

do not store histograms to output event

Definition at line 112 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH1* TFiberHodProc::hNrHits [protected]

do not store histograms to output event

Definition at line 110 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

TH1* TFiberHodProc::hPosition2D [protected]

do not store histograms to output event

Definition at line 114 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

do not store histograms to output event

Definition at line 100 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().

Definition at line 99 of file TFiberHodProc.h.

Referenced by FinalizeEvent(), and TFiberHodProc().


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