AliPhysics  5a28df1 (5a28df1)
Extractor Struct Reference
Inheritance diagram for Extractor:

Public Member Functions

 Extractor (const char *dirName, const char *corrName, const char *methName, const char *outFile, AliCorrectionManagerBase *cm)
 
virtual ~Extractor ()
 
virtual Int_t Extract (const char *prefix="$ALICE_PHYSICS/PWGLF/FORWARD/corrections")
 
virtual Bool_t ExtractFile (const TString &fn)
 
virtual void ExtractFields (const TString &s, UShort_t &sys, UShort_t &sNN, Short_t &fld, Bool_t &mc)
 
virtual ULong_t ExtractRunNo (UShort_t sys, UShort_t sNN)
 
virtual TObjectExtractObject (const TString &fn)
 

Public Attributes

TString fDirName
 
TString fCorrName
 
TString fMethName
 
TString fFile
 
AliCorrectionManagerBasefCM
 

Detailed Description

Definition at line 165 of file MigrateOADB.C.

Constructor & Destructor Documentation

Extractor::Extractor ( const char *  dirName,
const char *  corrName,
const char *  methName,
const char *  outFile,
AliCorrectionManagerBase cm 
)
inline

Constructor

Parameters
dirNameDirectory name
corrNameCorrection name
methNameRun number mode to set as default
outFileOutput file
cmCorrection manager to use

Definition at line 176 of file MigrateOADB.C.

virtual Extractor::~Extractor ( )
inlinevirtual

Definition at line 185 of file MigrateOADB.C.

Member Function Documentation

virtual Int_t Extractor::Extract ( const char *  prefix = "$ALICE_PHYSICS/PWGLF/FORWARD/corrections")
inlinevirtual

Extract files

Returns
number of converted objects

Definition at line 191 of file MigrateOADB.C.

Referenced by MigrateOADB().

virtual void Extractor::ExtractFields ( const TString s,
UShort_t sys,
UShort_t sNN,
Short_t fld,
Bool_t mc 
)
inlinevirtual

Extract fields from file name

Parameters
sFile name
sysSystem
sNNEnergy
fldField
mcMC flag

Definition at line 250 of file MigrateOADB.C.

virtual Bool_t Extractor::ExtractFile ( const TString fn)
inlinevirtual

Extract from a file

Parameters
fnFile name
Returns
true on success

Reimplemented in NormExtractor.

Definition at line 219 of file MigrateOADB.C.

virtual TObject* Extractor::ExtractObject ( const TString fn)
inlinevirtual

Extract a single object from the file

Parameters
fnFile name
Returns
Object or null

Definition at line 333 of file MigrateOADB.C.

virtual ULong_t Extractor::ExtractRunNo ( UShort_t  sys,
UShort_t  sNN 
)
inlinevirtual

Get run number corresponding to arguments

Parameters
sysSystem
sNNEnergy
Returns
run number

Definition at line 298 of file MigrateOADB.C.

Member Data Documentation

AliCorrectionManagerBase* Extractor::fCM

Definition at line 355 of file MigrateOADB.C.

TString Extractor::fCorrName

Definition at line 352 of file MigrateOADB.C.

TString Extractor::fDirName

Definition at line 351 of file MigrateOADB.C.

TString Extractor::fFile

Definition at line 354 of file MigrateOADB.C.

TString Extractor::fMethName

Definition at line 353 of file MigrateOADB.C.


The documentation for this struct was generated from the following file: