ROOT logo
AliRoot » PWGGA » GAMMACONV » AliV0ReaderV1

class AliV0ReaderV1: public AliAnalysisTaskSE


 Class reconstructing conversion photons from V0s


Function Members (Methods)

public:
AliV0ReaderV1(const char* name = "V0ReaderV1")
virtual~AliV0ReaderV1()
virtual voidTTask::Abort()MENU
voidTObject::AbstractMethod(const char* method) const
virtual voidTTask::Add(TTask* task)
virtual voidAliAnalysisTaskSE::AddAODBranch(const char* cname, void* addobj, const char* fname = "")
virtual AliAODEvent*AliAnalysisTaskSE::AODEvent() const
virtual voidTObject::AppendPad(Option_t* option = "")
Bool_tAreAODsRelabeled()
Bool_tAliAnalysisTask::AreSlotsConnected()
virtual voidTTask::Browse(TBrowser* b)
Bool_tAliAnalysisTask::CheckCircularDeps()
voidAliAnalysisTask::CheckNotify(Bool_t init = kFALSE)
virtual Bool_tAliAnalysisTask::CheckOwnership() const
virtual Bool_tAliAnalysisTask::CheckPostData() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTTask::CleanTasks()
virtual voidTTask::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
Bool_tAliAnalysisTask::ConnectInput(Int_t islot, AliAnalysisDataContainer* cont)
virtual voidAliAnalysisTaskSE::ConnectInputData(Option_t* option = "")
Bool_tAliAnalysisTask::ConnectOutput(Int_t islot, AliAnalysisDataContainer* cont)
virtual voidTTask::Continue()MENU
virtual voidTNamed::Copy(TObject& named) const
voidCountTracks()
virtual voidAliAnalysisTaskSE::CreateOutputObjects()
virtual const char*AliAnalysisTaskSE::CurrentFileName()
virtual Int_tAliAnalysisTaskSE::DebugLevel() const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual Long64_tAliAnalysisTaskSE::Entry() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual AliESDfriend*AliAnalysisTaskSE::ESDfriend() const
virtual const AliEventTag*AliAnalysisTaskSE::EventTag() const
virtual voidAliAnalysisTaskSE::Exec(Option_t* option)
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTTask::ExecuteTask(Option_t* option = "0")MENU
virtual voidTTask::ExecuteTasks(Option_t* option)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual voidAliAnalysisTask::FinishTaskOutput()
voidAliAnalysisTask::GetBranches(const char* type, TString& result) const
Int_tTTask::GetBreakin() const
Int_tTTask::GetBreakout() const
virtual UInt_tAliAnalysisTaskSE::GetCollisionCandidates() const
AliConversionPhotonCuts*GetConversionCuts()
TList*GetCutHistograms()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
TList*GetEventCutHistograms()
AliConvEventCuts*GetEventCuts()
virtual const char*TObject::GetIconName() const
TObject*AliAnalysisTask::GetInputData(Int_t islot) const
AliAnalysisDataSlot*AliAnalysisTask::GetInputSlot(Int_t islot) const
TClass*AliAnalysisTask::GetInputType(Int_t islot) const
TList*TTask::GetListOfTasks() const
virtual const char*TNamed::GetName() const
Int_tAliAnalysisTask::GetNinputs() const
Int_tAliAnalysisTask::GetNoutputs() const
Int_tGetNReconstructedGammas()
Int_tGetNumberOfPrimaryTracks()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TObject*AliAnalysisTask::GetOutputData(Int_t islot) const
AliAnalysisDataSlot*AliAnalysisTask::GetOutputSlot(Int_t islot) const
TClass*AliAnalysisTask::GetOutputType(Int_t islot) const
TStringGetPeriodName()
TObject*AliAnalysisTask::GetPublishedData() const
virtual TList*AliAnalysisTaskSE::GetQAHistos() const
TClonesArray*GetReconstructedGammas()
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tAliAnalysisTask::HasBranches() const
Bool_tAliAnalysisTask::HasExecuted() const
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidInit()
virtual AliVEvent*AliAnalysisTaskSE::InputEvent() const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tTTask::IsActive() const
Bool_tAliAnalysisTask::IsChecked() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tAliAnalysisTaskSE::IsEventInBinZero()
Bool_tIsEventSelected()
virtual Bool_tTTask::IsFolder() const
Bool_tAliAnalysisTask::IsInitialized() const
Bool_tTObject::IsOnHeap() const
Bool_tAliAnalysisTask::IsOutputReady(Int_t islot) const
Bool_tAliAnalysisTask::IsPostEventLoop() const
Bool_tAliAnalysisTask::IsReady() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tAliAnalysisTaskSE::IsStandardAOD() const
Bool_tAliAnalysisTask::IsUsed() const
Bool_tAliAnalysisTask::IsZombie() const
voidAliAnalysisTaskSE::LoadBranches() const
virtual voidAliAnalysisTask::LocalInit()
virtual voidTTask::ls(Option_t* option = "*") constMENU
voidTObject::MayNotUse(const char* method) const
virtual AliMCEvent*AliAnalysisTaskSE::MCEvent() const
virtual Bool_tNotify()
virtual Bool_tAliAnalysisTask::NotifyBinChange()
virtual voidAliAnalysisTaskSE::NotifyRun()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual TTree*AliAnalysisTaskSE::OutputTree() const
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
voidAliAnalysisTask::PrintContainers(Option_t* option = "all", Int_t indent = 0) const
virtual voidAliAnalysisTask::PrintTask(Option_t* option = "all", Int_t indent = 0) const
Bool_tProcessEvent(AliVEvent* inputEvent, AliMCEvent* mcEvent = NULL)
Bool_tAliAnalysisTask::ProducersTouched() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidRelabelAODPhotonCandidates(AliAODConversionPhoton* PhotonCandidate)
voidRelabelAODs(Bool_t relabel = kTRUE)
virtual voidAliAnalysisTask::Reset()
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
virtual voidAliAnalysisTaskSE::SelectCollisionCandidates(UInt_t offlineTriggerMask = AliVEvent::kMB)
voidTTask::SetActive(Bool_t active = kTRUE)TOGGLE
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidAliAnalysisTask::SetBranches(const char* names)
voidTTask::SetBreakin(Int_t breakin = 1)TOGGLE
voidTTask::SetBreakout(Int_t breakout = 1)TOGGLE
voidAliAnalysisTask::SetChecked(Bool_t flag = kTRUE)
voidSetConversionCuts(const TString cut)
voidSetConversionCuts(AliConversionPhotonCuts* cuts)
voidSetCreateAODs(Bool_t k = kTRUE)
virtual voidAliAnalysisTaskSE::SetDebugLevel(Int_t level)
voidSetDeltaAODBranchName(TString string)
voidSetDeltaAODFilename(TString s)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetEventCuts(const TString cut)
voidSetEventCuts(AliConvEventCuts* cuts)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidAliAnalysisTask::SetPostEventLoop(Bool_t flag = kTRUE)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetUseAODConversionPhoton(Bool_t b)
voidSetUseConstructGamma(Bool_t flag)
voidAliAnalysisTask::SetUsed(Bool_t flag = kTRUE)
voidSetUseOwnXYZCalculation(Bool_t flag)
voidAliAnalysisTask::SetZombie(Bool_t flag = kTRUE)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
virtual voidTerminate(Option_t*)
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidUserCreateOutputObjects()
virtual voidUserExec(Option_t* option)
virtual voidAliAnalysisTaskSE::UserExecMix(Option_t*)
virtual Bool_tAliAnalysisTaskSE::UserNotify()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
voidAliAnalysisTaskSE::ConnectMultiHandler()
voidAliAnalysisTask::DefineInput(Int_t islot, TClass* type)
voidAliAnalysisTask::DefineOutput(Int_t islot, TClass* type)
voidAliAnalysisTaskSE::DisconnectMultiHandler()
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidAliAnalysisTask::EnableBranch(Int_t islot, const char* bname) const
voidFillAODOutput()
voidFindDeltaAODBranchName()
Bool_tGetAODConversionGammas()
char*AliAnalysisTask::GetBranchAddress(Int_t islot, const char* branch) const
Bool_tGetConversionPoint(const AliExternalTrackParam* pparam, const AliExternalTrackParam* nparam, Double_t* convpos, Double_t* dca)
const AliExternalTrackParam*GetExternalTrackParam(AliESDv0* fCurrentV0, Int_t& tracklabel, Int_t charge)
const AliExternalTrackParam*GetExternalTrackParamN(AliESDv0* fCurrentV0, Int_t& tracklabel)
const AliExternalTrackParam*GetExternalTrackParamP(AliESDv0* fCurrentV0, Int_t& tracklabel)
Bool_tGetHelixCenter(const AliExternalTrackParam* track, Double_t* center)
AliKFParticle*GetNegativeKFParticle(AliAODv0* fCurrentV0, Int_t* fTrackLabel)
AliKFParticle*GetNegativeKFParticle(AliESDv0* fCurrentV0, Int_t* fTrackLabel)
AliKFParticle*GetPositiveKFParticle(AliAODv0* fCurrentV0, Int_t* fTrackLabel)
AliKFParticle*GetPositiveKFParticle(AliESDv0* fCurrentV0, Int_t* fTrackLabel)
Double_tGetPsiPair(const AliESDv0* v0, const AliExternalTrackParam* positiveparam, const AliExternalTrackParam* negativeparam) const
voidTObject::MakeZombie()
TFile*AliAnalysisTask::OpenFile(Int_t iout, Option_t* option = "RECREATE") const
Bool_tAliAnalysisTask::PostData(Int_t iout, TObject* data, Option_t* option = "")
Bool_tProcessESDV0s()
AliKFConversionPhoton*ReconstructV0(AliESDv0* fCurrentV0, Int_t currentV0Index)
Bool_tAliAnalysisTask::SetBranchAddress(Int_t islot, const char* branch, void* address) const

Data Members

protected:
Bool_tTTask::fActivetrue if task is active
TStringAliAnalysisTask::fBranchNamesList of input branches that need to be loaded for this task
Int_tTTask::fBreakin=1 if a break point set at task extry
Int_tTTask::fBreakout=1 if a break point set at task exit
AliConversionPhotonCuts*fConversionCutsPointer to the ConversionCut Selection
TClonesArray*fConversionGammasTClonesArray holding the reconstructed photons
Bool_tfCreateAODset flag for AOD creation
Int_tAliAnalysisTaskSE::fCurrentRunNumber! Current run number
Int_tAliAnalysisTaskSE::fDebugDebug flag
TStringfDeltaAODBranchNameFile where Gamma Conv AOD is located, if not in default AOD
TStringfDeltaAODFilenameset filename for delta/satellite aod
AliESDfriend*AliAnalysisTaskSE::fESDfriend! ESD friend
Int_tAliAnalysisTaskSE::fEntryCurrent entry in the chain
AliConvEventCuts*fEventCutsPointer to the ConversionCut Selection
Bool_tfEventIsSelected
Bool_tTTask::fHasExecutedTrue if task has executed
TList*AliAnalysisTaskSE::fHistosQA! Output histos for QA
Bool_tAliAnalysisTask::fInitializedTrue if Init() was called
AliVEvent*AliAnalysisTaskSE::fInputEvent! VEvent Input
AliInputEventHandler*AliAnalysisTaskSE::fInputHandler! Input Handler
TObjArray*AliAnalysisTask::fInputsArray of input slots
AliMCEvent*AliAnalysisTaskSE::fMCEvent! MC
AliInputEventHandler*AliAnalysisTaskSE::fMCEventHandler! pointer to MCEventHandler
AliMultiInputEventHandler*AliAnalysisTaskSE::fMultiInputHandler! pointer to multihandler
TStringTNamed::fNameobject identifier
Int_tAliAnalysisTask::fNinputsNumber of inputs
Int_tAliAnalysisTask::fNoutputsNumber of outputs
Int_tfNumberOfPrimaryTracksNumber of Primary Tracks in AOD or ESD
UInt_tAliAnalysisTaskSE::fOfflineTriggerMaskTask processes collision candidates only
TStringTTask::fOptionOption specified in ExecuteTask
AliAODEvent*AliAnalysisTaskSE::fOutputAOD! AOD out
Bool_t*AliAnalysisTask::fOutputReady[fNoutputs] Flags for output readyness
TObjArray*AliAnalysisTask::fOutputsArray of output slots
TStringfPeriodName
TObject*AliAnalysisTask::fPublishedData! published data
Bool_tAliAnalysisTask::fReadyFlag if the task is ready
Bool_tfRelabelAODs
TList*TTask::fTasksList of Tasks
TStringTNamed::fTitleobject title
TTree*AliAnalysisTaskSE::fTreeAAOD output Tree
Bool_tfUseConstructGammaflag that determines if we use ConstructGamma method from AliKF
Bool_tfUseImprovedVertexset flag to improve primary vertex estimation by adding photons
Bool_tfUseOwnXYZCalculationflag that determines if we use our own calculation of xyz (markus)
static TClonesArray*AliAnalysisTaskSE::fgAODCaloClusters! CaloClusters for replication
static TClonesArray*AliAnalysisTaskSE::fgAODDimuons! Dimuons replication
static AliAODCaloTrigger*AliAnalysisTaskSE::fgAODEMCALTrigger! Emcal Trigger for replication
static AliAODCaloCells*AliAnalysisTaskSE::fgAODEmcalCells! Emcal Cell replication
static TClonesArray*AliAnalysisTaskSE::fgAODFMDClusters! FMDClusters for replication
static AliAODHeader*AliAnalysisTaskSE::fgAODHeader! Header for replication
static TClonesArray*AliAnalysisTaskSE::fgAODHmpidRings! HMPID replication
static TClonesArray*AliAnalysisTaskSE::fgAODJets! Jets for replication
static TClonesArray*AliAnalysisTaskSE::fgAODMCParticles! MC Particles for replicatio
static AliAODCaloTrigger*AliAnalysisTaskSE::fgAODPHOSTrigger! Phos Trigger for replication
static TClonesArray*AliAnalysisTaskSE::fgAODPMDClusters! PMDClusters for replication
static AliAODCaloCells*AliAnalysisTaskSE::fgAODPhosCells! Phos Cell replication
static AliAODTracklets*AliAnalysisTaskSE::fgAODTracklets! Tracklets for replication
static TClonesArray*AliAnalysisTaskSE::fgAODTracks! Tracks for replication
static TClonesArray*AliAnalysisTaskSE::fgAODV0s! V0s for replication
static AliAODVZERO*AliAnalysisTaskSE::fgAODVZERO! VZERO for replication
static TClonesArray*AliAnalysisTaskSE::fgAODVertices! Vertices for replication
static TTask*TTask::fgBeginTaskpointer to task initiator
static TTask*TTask::fgBreakPointpointer to current break point
static AliTOFHeader*AliAnalysisTaskSE::fgTOFHeader! TOFHeader for replication
Bool_tkUseAODConversionPhotonset flag to use AOD instead of KF output format for photons

Class Charts

Inheritance Chart:
TTask
AliAnalysisTask
AliAnalysisTaskSE
AliV0ReaderV1

Function documentation

AliV0ReaderV1(const char* name = "V0ReaderV1")
 Default constructor
~AliV0ReaderV1()
 default deconstructor
void Init()
 Initialize function to be called once before analysis
void UserCreateOutputObjects()
 Create AODs
Bool_t Notify()
void UserExec(Option_t* option)
Bool_t ProcessEvent(AliVEvent* inputEvent, AliMCEvent* mcEvent = NULL)
void FillAODOutput()
 Fill AOD Output with reconstructed Photons
const AliExternalTrackParam * GetExternalTrackParam(AliESDv0* fCurrentV0, Int_t& tracklabel, Int_t charge)
Bool_t ProcessESDV0s()
 Process ESD V0s for conversion photon reconstruction
AliKFConversionPhoton * ReconstructV0(AliESDv0* fCurrentV0, Int_t currentV0Index)
   cout << currentV0Index << endl;
 Reconstruct conversion photon from ESD v0
Double_t GetPsiPair(const AliESDv0* v0, const AliExternalTrackParam* positiveparam, const AliExternalTrackParam* negativeparam) const
 Angle between daughter momentum plane and plane

Bool_t GetHelixCenter(const AliExternalTrackParam* track, Double_t* center)
Bool_t GetConversionPoint(const AliExternalTrackParam* pparam, const AliExternalTrackParam* nparam, Double_t* convpos, Double_t* dca)
Bool_t GetAODConversionGammas()
void FindDeltaAODBranchName()
void RelabelAODPhotonCandidates(AliAODConversionPhoton* PhotonCandidate)
void CountTracks()
void Terminate(Option_t* )
void SetConversionCuts(const TString cut)
void SetEventCuts(const TString cut)
AliV0ReaderV1(const char* name = "V0ReaderV1")
Bool_t IsEventSelected()
TClonesArray * GetReconstructedGammas()
 Return Reconstructed Gammas
Int_t GetNReconstructedGammas()
AliConversionPhotonCuts * GetConversionCuts()
{return fConversionCuts;}
AliConvEventCuts * GetEventCuts()
{return fEventCuts;}
TList * GetCutHistograms()
TList * GetEventCutHistograms()
 Set Options
void SetConversionCuts(const TString cut)
void SetEventCuts(const TString cut)
void SetUseOwnXYZCalculation(Bool_t flag)
void SetUseConstructGamma(Bool_t flag)
void SetUseAODConversionPhoton(Bool_t b)
void SetCreateAODs(Bool_t k = kTRUE)
void SetDeltaAODFilename(TString s)
void SetDeltaAODBranchName(TString string)
{ fDeltaAODBranchName = string;AliInfo(Form("Set DeltaAOD BranchName to: %s",fDeltaAODBranchName.Data()));}
void RelabelAODs(Bool_t relabel = kTRUE)
{fRelabelAODs=relabel;}
Bool_t AreAODsRelabeled()
{return fRelabelAODs;}
TString GetPeriodName()
{return fPeriodName;}
Int_t GetNumberOfPrimaryTracks()
const AliExternalTrackParam * GetExternalTrackParamP(AliESDv0* fCurrentV0, Int_t& tracklabel)
{return GetExternalTrackParam(fCurrentV0,tracklabel,1);}
const AliExternalTrackParam * GetExternalTrackParamN(AliESDv0* fCurrentV0, Int_t& tracklabel)
{return GetExternalTrackParam(fCurrentV0,tracklabel,-1);}
AliKFParticle * GetPositiveKFParticle(AliAODv0* fCurrentV0, Int_t* fTrackLabel)
AliKFParticle * GetNegativeKFParticle(AliAODv0* fCurrentV0, Int_t* fTrackLabel)
AliKFParticle * GetPositiveKFParticle(AliESDv0* fCurrentV0, Int_t* fTrackLabel)
AliKFParticle * GetNegativeKFParticle(AliESDv0* fCurrentV0, Int_t* fTrackLabel)
AliV0ReaderV1 & operator=(const AliV0ReaderV1& ref)