AliPhysics  b555aef (b555aef)
NormExtractor Struct Reference
Inheritance diagram for NormExtractor:

Public Types

enum  { kINEL, kNSD, kINELGT0 }
 

Public Member Functions

 NormExtractor (const char *dirName, const char *corrName, const char *methName)
 
virtual Int_t Extract ()
 
virtual Bool_t ExtractFile (const TString &s)
 
virtual Int_t ExtractNorm (AliOADBForward &db, const char *fileName)
 
virtual Bool_t Store (AliOADBForward &db, const TString &tab, TObject *o, ULong_t runNo, UShort_t sys, UShort_t sNN)
 
virtual Bool_t ExtractHist (Int_t what, ULong_t runNo, UShort_t sys, UShort_t sNN, TFile &f, AliOADBForward &db)
 
virtual Bool_t ExtractNum (Int_t what, ULong_t runNo, UShort_t sys, UShort_t sNN, TFile &f, AliOADBForward &db)
 
virtual Bool_t ExtractNormFile (const TString &fn, AliOADBForward &db)
 
- Public Member Functions inherited from Extractor
 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 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 fFileName
 
- Public Attributes inherited from Extractor
TString fDirName
 
TString fCorrName
 
TString fMethName
 
TString fFile
 
AliCorrectionManagerBasefCM
 

Detailed Description

Definition at line 359 of file MigrateOADB.C.

Member Enumeration Documentation

anonymous enum
Enumerator
kINEL 
kNSD 
kINELGT0 

Definition at line 361 of file MigrateOADB.C.

Constructor & Destructor Documentation

NormExtractor::NormExtractor ( const char *  dirName,
const char *  corrName,
const char *  methName 
)
inline

Constructor

Parameters
dirName
corrName
methName
Returns

Definition at line 376 of file MigrateOADB.C.

Member Function Documentation

virtual Int_t NormExtractor::Extract ( )
inlinevirtual

Extract

Returns
Number of converted oject

Definition at line 389 of file MigrateOADB.C.

virtual Bool_t NormExtractor::ExtractFile ( const TString s)
inlinevirtual

Extract

Parameters
sSource
Returns
Number of converted oject

Reimplemented from Extractor.

Definition at line 401 of file MigrateOADB.C.

virtual Bool_t NormExtractor::ExtractHist ( Int_t  what,
ULong_t  runNo,
UShort_t  sys,
UShort_t  sNN,
TFile &  f,
AliOADBForward db 
)
inlinevirtual

Extract a histogram

Parameters
whatName part
runNoRun number
sysSystem
sNNEnergy
fFile to read from
dbDatabase manager
Returns
true on success

Definition at line 487 of file MigrateOADB.C.

virtual Int_t NormExtractor::ExtractNorm ( AliOADBForward db,
const char *  fileName 
)
inlinevirtual

Extract files

Parameters
dbDatabase manager
fileNameFile to store in
Returns
number of converted objects

Definition at line 414 of file MigrateOADB.C.

Referenced by MigrateOADB().

virtual Bool_t NormExtractor::ExtractNormFile ( const TString fn,
AliOADBForward db 
)
inlinevirtual

Extract from a file

Parameters
fnFile name
dbdatabase manager
Returns
true on success

Definition at line 563 of file MigrateOADB.C.

virtual Bool_t NormExtractor::ExtractNum ( Int_t  what,
ULong_t  runNo,
UShort_t  sys,
UShort_t  sNN,
TFile &  f,
AliOADBForward db 
)
inlinevirtual

Extract a number

Parameters
whatName part
runNoRun number
sysSystem
sNNEnergy
fFile to read from
dbDatabase manager
Returns
true on success

Definition at line 529 of file MigrateOADB.C.

virtual Bool_t NormExtractor::Store ( AliOADBForward db,
const TString tab,
TObject o,
ULong_t  runNo,
UShort_t  sys,
UShort_t  sNN 
)
inlinevirtual

Overload to store file name

Returns
true Store object in DB
Parameters
dbDatabase manager
tabTable name
oObject to stire
runNoRun number
sysSystem
sNNEnergy
Returns
true on success

Definition at line 463 of file MigrateOADB.C.

Member Data Documentation

TString NormExtractor::fFileName

Definition at line 366 of file MigrateOADB.C.


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