AliRoot Core
3dc7879 (3dc7879)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
AliRecoInputHandler.cxx
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
3
* *
4
* Author: The ALICE Off-line Project. *
5
* Contributors are mentioned in the code where appropriate. *
6
* *
7
* Permission to use, copy, modify and distribute this software and its *
8
* documentation strictly for non-commercial purposes is hereby granted *
9
* without fee, provided that the above copyright notice appears in all *
10
* copies and that both the copyright notice and this permission notice *
11
* appear in the supporting documentation. The authors make no claims *
12
* about the suitability of this software for any purpose. It is *
13
* provided "as is" without express or implied warranty. *
14
**************************************************************************/
15
16
//-------------------------------------------------------------------------
17
// Event handler for reconstruction
18
// Author: Andrei Gheata, CERN
19
//-------------------------------------------------------------------------
20
21
#include "
AliRecoInputHandler.h
"
22
#include "
AliVCuts.h
"
23
24
ClassImp(
AliRecoInputHandler
)
25
26
//______________________________________________________________________________
27
AliRecoInputHandler
::
AliRecoInputHandler
(const
char
* name, const
char
* title)
28
:
AliESDInputHandler
(name,title)
29
{
30
// Named constructor
31
}
32
33
//______________________________________________________________________________
34
Bool_t
AliRecoInputHandler::Init
(TTree*
tree
, Option_t* opt)
35
{
36
// Initialisation necessary for each new tree. In reco case this is once.
37
fAnalysisType
= opt;
38
fTree
=
tree
;
39
if
(!
fTree
)
return
kFALSE;
40
fNEvents
=
fTree
->GetEntries();
41
return
kTRUE;
42
}
43
//______________________________________________________________________________
44
Bool_t
AliRecoInputHandler::BeginEvent
(Long64_t)
45
{
46
// Called at the beginning of every event
47
static
Bool_t called = kFALSE;
48
if
(!called &&
fEventCuts
&&
IsUserCallSelectionMask
())
49
AliInfo
(Form(
"The ESD input handler expects that the first task calls AliESDInputHandler::CheckSelectionMask() %s"
,
fEventCuts
->ClassName()));
50
fNewEvent
= kTRUE;
51
called = kTRUE;
52
return
kTRUE;
53
}
AliRecoInputHandler::BeginEvent
virtual Bool_t BeginEvent(Long64_t entry)
Definition:
AliRecoInputHandler.cxx:44
AliRecoInputHandler::Init
virtual Bool_t Init(Option_t *opt)
Definition:
AliRecoInputHandler.h:25
AliESDInputHandler::fAnalysisType
Option_t * fAnalysisType
Pointer to PID information.
Definition:
AliESDInputHandler.h:83
AliInputEventHandler::fTree
TTree * fTree
Definition:
AliInputEventHandler.h:94
AliRecoInputHandler
Definition:
AliRecoInputHandler.h:17
AliESDInputHandler
Definition:
AliESDInputHandler.h:26
AliRecoInputHandler.h
tree
TTree * tree
Definition:
QAtrendingFitExample.C:23
AliInfo
#define AliInfo(message)
Definition:
AliLog.h:484
AliInputEventHandler::fEventCuts
AliVCuts * fEventCuts
Definition:
AliInputEventHandler.h:99
AliInputEventHandler::IsUserCallSelectionMask
virtual Bool_t IsUserCallSelectionMask() const
Definition:
AliInputEventHandler.h:69
AliInputEventHandler::fNewEvent
Bool_t fNewEvent
Definition:
AliInputEventHandler.h:98
AliESDInputHandler::fNEvents
Int_t fNEvents
local, proof, grid
Definition:
AliESDInputHandler.h:84
AliVCuts.h
STEER
STEER
AliRecoInputHandler.cxx
Generated on Mon Nov 5 2018 17:14:21 for AliRoot Core by
1.8.11