AliPhysics  a76316e (a76316e)
CorrExtractor Struct Reference

Public Member Functions

 CorrExtractor (AliCorrectionManagerBase *manager)
 
TCollectionGetCollection (TCollection *p, const TString &name)
 
TCollectionFindCollection (const TString &path)
 
TObjectFindObject (const TString &path, const TString &name)
 
Bool_t Init (const TString &fileName, const TString &sumFolder, const TString &out)
 
void SetMC (Bool_t mc=true)
 
Bool_t Extract (const TClass *cls, const TString &parent)
 
Bool_t Extract (const TString &objName, const TString &parent="")
 
void Clear ()
 

Public Attributes

TFile * fFile
 
TListfTop
 
TString fOut
 
ULong_t fRunNo
 
UShort_t fSys
 
UShort_t fSNN
 
Short_t fField
 
Bool_t fMC
 
Bool_t fSatellite
 
AliCorrectionManagerBasefManager
 

Detailed Description

Extract corrections from result file

Definition at line 11 of file CorrExtractor.C.

Constructor & Destructor Documentation

CorrExtractor::CorrExtractor ( AliCorrectionManagerBase manager)
inline

Constructor

Parameters
managerCorrection manager

Definition at line 18 of file CorrExtractor.C.

Member Function Documentation

void CorrExtractor::Clear ( )
inline

Clear this extractor

Definition at line 233 of file CorrExtractor.C.

Referenced by Init().

Bool_t CorrExtractor::Extract ( const TClass *  cls,
const TString parent 
)
inline

Extract the stuff

Parameters
clsClass of object
parentParent folder
Returns

Definition at line 187 of file CorrExtractor.C.

Referenced by ExtractELoss(), and ExtractMCCorr().

Bool_t CorrExtractor::Extract ( const TString objName,
const TString parent = "" 
)
inline

Extract the stuff

Parameters
objNameObject name
parentParent folder
Returns

Definition at line 199 of file CorrExtractor.C.

TCollection* CorrExtractor::FindCollection ( const TString path)
inline

Find a collection in a file

Parameters
pathPath to collection
Returns
Found collection or null

Definition at line 63 of file CorrExtractor.C.

Referenced by FindObject(), and Init().

TObject* CorrExtractor::FindObject ( const TString path,
const TString name 
)
inline

Find an object

Parameters
pathPath to object
nameName of object
Returns
Found object or null

Definition at line 88 of file CorrExtractor.C.

Referenced by Extract().

TCollection* CorrExtractor::GetCollection ( TCollection p,
const TString name 
)
inline

Definition at line 30 of file CorrExtractor.C.

Referenced by FindCollection().

Bool_t CorrExtractor::Init ( const TString fileName,
const TString sumFolder,
const TString out 
)
inline

Initialize this extactor

Parameters
fileNameFile to extract from
sumFolderThe summed folder
outThe result folder
Returns
true on success

Definition at line 116 of file CorrExtractor.C.

Referenced by ExtractELoss(), and ExtractMCCorr().

void CorrExtractor::SetMC ( Bool_t  mc = true)
inline

Set whether this is MC or not

Parameters
mcIf true, consider this MC

Definition at line 178 of file CorrExtractor.C.

Referenced by ExtractELoss().

Member Data Documentation

Short_t CorrExtractor::fField

Definition at line 252 of file CorrExtractor.C.

Referenced by Clear(), Extract(), ExtractELoss(), ExtractMCCorr(), and Init().

TFile* CorrExtractor::fFile

Definition at line 246 of file CorrExtractor.C.

Referenced by Clear(), Extract(), FindObject(), GetCollection(), and Init().

AliCorrectionManagerBase* CorrExtractor::fManager

Definition at line 255 of file CorrExtractor.C.

Referenced by Extract().

Bool_t CorrExtractor::fMC

Definition at line 253 of file CorrExtractor.C.

Referenced by Clear(), Extract(), and SetMC().

TString CorrExtractor::fOut

Definition at line 248 of file CorrExtractor.C.

Referenced by Extract(), and Init().

ULong_t CorrExtractor::fRunNo

Definition at line 249 of file CorrExtractor.C.

Referenced by Clear(), Extract(), ExtractELoss(), ExtractMCCorr(), and Init().

Bool_t CorrExtractor::fSatellite

Definition at line 254 of file CorrExtractor.C.

Referenced by Clear(), Extract(), ExtractELoss(), ExtractMCCorr(), and Init().

UShort_t CorrExtractor::fSNN

Definition at line 251 of file CorrExtractor.C.

Referenced by Clear(), Extract(), ExtractELoss(), ExtractMCCorr(), and Init().

UShort_t CorrExtractor::fSys

Definition at line 250 of file CorrExtractor.C.

Referenced by Clear(), Extract(), ExtractELoss(), ExtractMCCorr(), and Init().

TList* CorrExtractor::fTop

Definition at line 247 of file CorrExtractor.C.

Referenced by Clear().


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