1 /**************************************************************************
2 * Copyright(c) 1998-1999, 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 **************************************************************************/
18 // The ESD is available as member fESD
20 // The Process function is nearly empty. Implement your analysis there and look at the other listed below functions you
23 // The following methods can be overrriden. Please do not forgot to call the base class function.
25 // Begin(): called everytime a loop on the tree starts,
26 // a convenient place to create your histograms.
27 // SlaveBegin(): called after Begin(), when on PROOF called only on the
29 // Init(): called for each new tree. Enable/Disable branches here.
30 // Process(): called for each event, in this function you decide what
31 // to read and fill your histograms.
32 // SlaveTerminate: called at the end of the loop on the tree, when on PROOF
33 // called only on the slave servers.
34 // Terminate(): called at the end of the loop on the tree,
35 // a convenient place to draw/fit your histograms.
37 // Author: Jan.Fiete.Grosse-Oetringhaus@cern.ch
39 #include "AliEmptySelector.h"
44 ClassImp(AliEmptySelector)
46 AliEmptySelector::AliEmptySelector() :
50 // Constructor. Initialization of pointers
54 AliEmptySelector::~AliEmptySelector()
61 Bool_t AliEmptySelector::Process(Long64_t entry)
64 // Implement your analysis here. Do not forget to call the parent class Process by
65 // if (AliSelector::Process(entry) == kFALSE)
69 if (AliSelector::Process(entry) == kFALSE)
72 // Check prerequisites
75 AliDebug(AliLog::kError, "ESD branch not available");
79 printf("In event %d we have %d ESD tracks.\n", (Int_t) entry, fESD->GetNumberOfTracks());