AliRoot Core  edcc906 (edcc906)
AliEMCALPreprocessor Class Reference

Process data in shuttle to feed OCDB. More...

#include <AliEMCALPreprocessor.h>

Inheritance diagram for AliEMCALPreprocessor:

Public Member Functions

 AliEMCALPreprocessor ()
 Default constructor. More...
 
 AliEMCALPreprocessor (AliShuttleInterface *shuttle)
 ctor More...
 
 AliEMCALPreprocessor (const AliEMCALPreprocessor &)
 overloaded ctor More...
 
AliEMCALPreprocessoroperator= (const AliEMCALPreprocessor &source)
 copy ctor More...
 
virtual ~AliEMCALPreprocessor ()
 assignment operator More...
 
- Public Member Functions inherited from AliPreprocessor
 AliPreprocessor (const char *detector, AliShuttleInterface *shuttle)
 
virtual ~AliPreprocessor ()
 
virtual Bool_t ProcessDCS ()
 
Bool_t ProcessRunType ()
 

Protected Member Functions

virtual void Initialize (Int_t run, UInt_t startTime, UInt_t endTime)
 dtor More...
 
virtual UInt_t Process (TMap *dcsAliasMap)
 
UInt_t MapTemperature (TMap *dcsAliasMap)
 Extract DCS temperature maps. Perform fits to save space. More...
 
UInt_t MapTriggerConfig (TMap *dcsAliasMap)
 Extract DCS trigger info. More...
 
UInt_t ExtractPedestals (Int_t sourceFXS)
 
UInt_t ExtractSignal (Int_t sourceFXS)
 
AliDCSValueReadDCSValue (const TMap *values, const char *valname)
 Read DCS. More...
 
- Protected Member Functions inherited from AliPreprocessor
Bool_t Store (const char *pathLevel2, const char *pathLevel3, TObject *object, AliCDBMetaData *metaData, Int_t validityStart=0, Bool_t validityInfinite=kFALSE)
 
Bool_t StoreReferenceData (const char *pathLevel2, const char *pathLevel3, TObject *object, AliCDBMetaData *metaData)
 
Bool_t StoreReferenceFile (const char *localFile, const char *gridFileName)
 
Bool_t StoreRunMetadataFile (const char *localFile, const char *gridFileName)
 
const char * GetFile (Int_t system, const char *id, const char *source)
 
TList * GetFileSources (Int_t system, const char *id=0)
 
const char * GetForeignFile (const char *detector, Int_t system, const char *id, const char *source)
 
TList * GetForeignFileSources (const char *detector, Int_t system, const char *id)
 
TList * GetFileIDs (Int_t system, const char *source)
 
const char * GetRunParameter (const char *param)
 
AliCDBEntryGetFromOCDB (const char *pathLevel2, const char *pathLevel3)
 
AliCDBEntryGetGeometryFromOCDB ()
 
const char * GetRunType ()
 
Bool_t GetHLTStatus ()
 
const char * GetTriggerConfiguration ()
 
const char * GetCTPTimeParams ()
 
const char * GetTriggerDetectorMask ()
 
void Log (const char *message, UInt_t level=3)
 
UInt_t GetStartTimeDCSQuery ()
 
UInt_t GetEndTimeDCSQuery ()
 
void AddRunType (const char *runType)
 
void SendToML (const char *)
 
TString * GetLTUConfig (const char *det)
 

Private Attributes

TEnv * fConfEnv
 Preprocessor configuration map. More...
 
AliEMCALSensorTempArrayfTemp
 CDB class for temperature sensors. More...
 
Bool_t fConfigOK
 Identify succesful reading of OCDB Config. More...
 

Additional Inherited Members

- Public Types inherited from AliPreprocessor
enum  { kDAQ = 0, kDCS, kHLT, kDQM }
 
- Protected Attributes inherited from AliPreprocessor
Int_t fRun
 
UInt_t fStartTime
 
UInt_t fEndTime
 

Detailed Description

Process data in shuttle to feed OCDB.

EMCAL Preprocessor class. It runs by Shuttle at the end of the run, calculates stuff to be posted in OCDB

Adapted from AliPHOSPreprocessor.

Author
: Boris Polichtchouk, (IHEP) (For PHOS)
Gustavo Conesa Balbastre Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, LPSC-IN2P3-CNRS, copy from PHOS
David Silvermyr (ORNL), May 2008, update based on TPC code
Markus Fasel (ORNL), November 2015, adding DCAL STU

Definition at line 30 of file AliEMCALPreprocessor.h.

Constructor & Destructor Documentation

AliEMCALPreprocessor::AliEMCALPreprocessor ( )

Default constructor.

Definition at line 60 of file AliEMCALPreprocessor.cxx.

Referenced by operator=().

AliEMCALPreprocessor::AliEMCALPreprocessor ( AliShuttleInterface shuttle)

ctor

Constructor, define run types to be processed.

Definition at line 70 of file AliEMCALPreprocessor.cxx.

AliEMCALPreprocessor::AliEMCALPreprocessor ( const AliEMCALPreprocessor )

overloaded ctor

Copy constructor, do not use.

Definition at line 83 of file AliEMCALPreprocessor.cxx.

AliEMCALPreprocessor::~AliEMCALPreprocessor ( )
virtual

assignment operator

Destructor.

Definition at line 104 of file AliEMCALPreprocessor.cxx.

Member Function Documentation

UInt_t AliEMCALPreprocessor::ExtractPedestals ( Int_t  sourceFXS)
protected

Read pedestal file from file exchange server Only store if new pedestal info is available

Definition at line 569 of file AliEMCALPreprocessor.cxx.

Referenced by Process().

UInt_t AliEMCALPreprocessor::ExtractSignal ( Int_t  sourceFXS)
protected

Read signal file from file exchange server Only store if new signal info is available

Definition at line 648 of file AliEMCALPreprocessor.cxx.

Referenced by Process().

void AliEMCALPreprocessor::Initialize ( Int_t  run,
UInt_t  startTime,
UInt_t  endTime 
)
protectedvirtual

dtor

Creates AliTestDataDCS object – start maps half an hour before actual run start.

Reimplemented from AliPreprocessor.

Definition at line 112 of file AliEMCALPreprocessor.cxx.

UInt_t AliEMCALPreprocessor::MapTemperature ( TMap *  dcsAliasMap)
protected

Extract DCS temperature maps. Perform fits to save space.

Definition at line 318 of file AliEMCALPreprocessor.cxx.

Referenced by Process().

UInt_t AliEMCALPreprocessor::MapTriggerConfig ( TMap *  dcsAliasMap)
protected

Extract DCS trigger info.

Definition at line 366 of file AliEMCALPreprocessor.cxx.

Referenced by Process().

AliEMCALPreprocessor & AliEMCALPreprocessor::operator= ( const AliEMCALPreprocessor source)

copy ctor

Assignment operator.

Definition at line 93 of file AliEMCALPreprocessor.cxx.

UInt_t AliEMCALPreprocessor::Process ( TMap *  dcsAliasMap)
protectedvirtual

Fills data into EMCAL calibrations objects. Amanda servers provide information directly through dcsAliasMap.

Implements AliPreprocessor.

Definition at line 161 of file AliEMCALPreprocessor.cxx.

AliDCSValue * AliEMCALPreprocessor::ReadDCSValue ( const TMap *  values,
const char *  valname 
)
protected

Read DCS.

Definition at line 724 of file AliEMCALPreprocessor.cxx.

Referenced by MapTriggerConfig().

Member Data Documentation

TEnv* AliEMCALPreprocessor::fConfEnv
private

Preprocessor configuration map.

Definition at line 56 of file AliEMCALPreprocessor.h.

Referenced by Initialize(), and Process().

Bool_t AliEMCALPreprocessor::fConfigOK
private

Identify succesful reading of OCDB Config.

Definition at line 58 of file AliEMCALPreprocessor.h.

Referenced by Initialize(), and Process().

AliEMCALSensorTempArray* AliEMCALPreprocessor::fTemp
private

CDB class for temperature sensors.

Definition at line 57 of file AliEMCALPreprocessor.h.

Referenced by Initialize(), MapTemperature(), and ~AliEMCALPreprocessor().


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