1 /**************************************************************************
2 * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 //-------------------------------------------------------------------------
17 // Event handler for reconstruction
18 // Author: Andrei Gheata, CERN
19 //-------------------------------------------------------------------------
21 #include "AliRecoInputHandler.h"
24 ClassImp(AliRecoInputHandler)
26 //______________________________________________________________________________
27 AliRecoInputHandler::AliRecoInputHandler(const char* name, const char* title)
28 : AliESDInputHandler(name,title)
33 //______________________________________________________________________________
34 Bool_t AliRecoInputHandler::Init(TTree* tree, Option_t* opt)
36 // Initialisation necessary for each new tree. In reco case this is once.
39 if (!fTree) return kFALSE;
40 fNEvents = fTree->GetEntries();
43 //______________________________________________________________________________
44 Bool_t AliRecoInputHandler::BeginEvent(Long64_t)
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()));