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 //_________________________________________________________________________
19 // Base Class for JetFinder Input Preparation
21 //*-- Author: Mark Horner (LBL/UCT)
27 #include <TClonesArray.h>
28 #include <TParticle.h>
31 //.....................
32 #include "AliEMCALJet.h"
33 #include "AliEMCALParton.h"
34 #include "AliEMCALJetFinderInputPrep.h"
35 #include "AliEMCALJetFinderInput.h"
37 ClassImp(AliEMCALJetFinderInputPrep)
39 //________________________________________________________________________
40 AliEMCALJetFinderInputPrep::AliEMCALJetFinderInputPrep()
42 // Default constructor
43 if (fDebug > 0) Info("AliEMCALJetFinderInputPrep","Beginning Constructor");
45 fInputObject.SetDebug(0);
47 AliEMCALJetFinderInputPrep::~AliEMCALJetFinderInputPrep()
52 Int_t AliEMCALJetFinderInputPrep::FillFromFile(TString * /*filename*/,
53 AliEMCALJetFinderFileType_t /*fileType*/,
54 Int_t /*EventNumber*/)
58 void AliEMCALJetFinderInputPrep::Reset(AliEMCALJetFinderResetType_t resettype)
61 if (fDebug > 1) Info("Reset","Beginning Reset");
65 fInputObject.Reset(resettype);
68 fInputObject.Reset(kResetTracks);
71 fInputObject.Reset(kResetDigits);
73 case kResetParameters:
76 fInputObject.Reset(kResetAll);
79 Warning("FillFromFile", "kResetPartons not implemented") ;
82 Warning("FillFromFile", "kResetParticles not implemented") ;
85 Warning("FillFromFile", "kResetJets not implemented") ;