AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONGainSubprocessor Class Reference

Implementation of AliMUONVSubprocessor for MUON TRK Gains. More...

#include <AliMUONGainSubprocessor.h>

Inheritance diagram for AliMUONGainSubprocessor:

Public Member Functions

 AliMUONGainSubprocessor (AliMUONPreprocessor *master)
 
virtual ~AliMUONGainSubprocessor ()
 
Bool_t Initialize (Int_t run, UInt_t startTime, UInt_t endTime)
 
UInt_t Process (TMap *dcsAliasMap)
 Process this sub-task. More...
 
- Public Member Functions inherited from AliMUONVSubprocessor
 AliMUONVSubprocessor (AliMUONPreprocessor *master, const char *name="", const char *title="")
 
virtual ~AliMUONVSubprocessor ()
 

Private Member Functions

 AliMUONGainSubprocessor (const AliMUONGainSubprocessor &)
 Not implemented. More...
 
AliMUONGainSubprocessoroperator= (const AliMUONGainSubprocessor &)
 Not implemented. More...
 
Int_t ReadFile (const char *filename)
 

Private Attributes

AliMUONVStorefGains
 ! Gains for the MUON TRK More...
 
Bool_t fSkip
 ! whether we should skip this run (because it's dummy) More...
 
TString fComment
 ! comment for OCDB entry More...
 

Additional Inherited Members

- Protected Member Functions inherited from AliMUONVSubprocessor
AliMUONPreprocessorMaster () const
 Return the pointer to our master. More...
 
Bool_t RemoveValuesOutsideRun (TObjArray *values)
 
 AliMUONVSubprocessor ()
 Not implemented. More...
 
 AliMUONVSubprocessor (const AliMUONVSubprocessor &)
 Not implemented. More...
 
AliMUONVSubprocessoroperator= (const AliMUONVSubprocessor &)
 Not implemented. More...
 

Detailed Description

Implementation of AliMUONVSubprocessor for MUON TRK Gains.

Implementation of AliMUONVSubprocessor class to deal with MUON TRK Gains.

Gains are read in from an ascii file, with the format :


BUS_PATCH MANU CHANNEL a0 a1 thres Qual


Author
L. Aphecetche

Definition at line 26 of file AliMUONGainSubprocessor.h.

Constructor & Destructor Documentation

AliMUONGainSubprocessor::AliMUONGainSubprocessor ( AliMUONPreprocessor master)

default ctor

Definition at line 59 of file AliMUONGainSubprocessor.cxx.

AliMUONGainSubprocessor::~AliMUONGainSubprocessor ( )
virtual

dtor

Definition at line 71 of file AliMUONGainSubprocessor.cxx.

AliMUONGainSubprocessor::AliMUONGainSubprocessor ( const AliMUONGainSubprocessor )
private

Not implemented.

Member Function Documentation

Bool_t AliMUONGainSubprocessor::Initialize ( Int_t  run,
UInt_t  startTime,
UInt_t  endTime 
)
virtual

When starting a new run, reads in the Gains ASCII files.

Reimplemented from AliMUONVSubprocessor.

Definition at line 79 of file AliMUONGainSubprocessor.cxx.

AliMUONGainSubprocessor& AliMUONGainSubprocessor::operator= ( const AliMUONGainSubprocessor )
private

Not implemented.

UInt_t AliMUONGainSubprocessor::Process ( TMap *  dcsAliasMap)
virtual

Process this sub-task.

Store the Gains into the CDB

Implements AliMUONVSubprocessor.

Definition at line 137 of file AliMUONGainSubprocessor.cxx.

Int_t AliMUONGainSubprocessor::ReadFile ( const char *  filename)
private

Read the Gains from an ASCII file.

Format of that file is one line per channel :

BUS_PATCH MANU CHANNEL a0 a1 thres Qual

Return kFALSE if reading was not successfull.

Definition at line 195 of file AliMUONGainSubprocessor.cxx.

Referenced by Initialize().

Member Data Documentation

TString AliMUONGainSubprocessor::fComment
private

! comment for OCDB entry

Definition at line 46 of file AliMUONGainSubprocessor.h.

Referenced by Initialize(), Process(), and ReadFile().

AliMUONVStore* AliMUONGainSubprocessor::fGains
private

! Gains for the MUON TRK

Definition at line 44 of file AliMUONGainSubprocessor.h.

Referenced by Initialize(), Process(), ReadFile(), and ~AliMUONGainSubprocessor().

Bool_t AliMUONGainSubprocessor::fSkip
private

! whether we should skip this run (because it's dummy)

Definition at line 45 of file AliMUONGainSubprocessor.h.

Referenced by Initialize(), and Process().


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