Enlarging array
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALJetFinderInputPrep.cxx
CommitLineData
f7d5860b 1/**************************************************************************
2 * Copyright(c) 1998-1999, 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
ee6b678f 16/* $Id$ */
f7d5860b 17
18//_________________________________________________________________________
19// Base Class for JetFinder Input Preparation
44f59d68 20// --
f7d5860b 21//*-- Author: Mark Horner (LBL/UCT)
44f59d68 22// --
f7d5860b 23
24
25
26#include <stdio.h>
27#include <TClonesArray.h>
28#include <TParticle.h>
29#include <TTree.h>
30
31//.....................
32#include "AliEMCALJet.h"
33#include "AliEMCALParton.h"
34#include "AliEMCALJetFinderInputPrep.h"
35#include "AliEMCALJetFinderInput.h"
36
37ClassImp(AliEMCALJetFinderInputPrep)
38
39//________________________________________________________________________
40AliEMCALJetFinderInputPrep::AliEMCALJetFinderInputPrep()
41{
44f59d68 42 // Default constructor
f7d5860b 43if (fDebug > 0) Info("AliEMCALJetFinderInputPrep","Beginning Constructor");
44 fDebug = 0;
45 fInputObject.SetDebug(0);
46}
47AliEMCALJetFinderInputPrep::~AliEMCALJetFinderInputPrep()
48{
49
50}
51
9e5d2067 52Int_t AliEMCALJetFinderInputPrep::FillFromFile(TString * /*filename*/,
53 AliEMCALJetFinderFileType_t /*fileType*/,
54 Int_t /*EventNumber*/)
f7d5860b 55{
56return 0;
57}
58void AliEMCALJetFinderInputPrep::Reset(AliEMCALJetFinderResetType_t resettype)
44f59d68 59{
60 // Reset data
f7d5860b 61if (fDebug > 1) Info("Reset","Beginning Reset");
62
63 switch (resettype){
64 case kResetData:
65 fInputObject.Reset(resettype);
66 break;
67 case kResetTracks:
68 fInputObject.Reset(kResetTracks);
69 break;
70 case kResetDigits:
71 fInputObject.Reset(kResetDigits);
72 break;
73 case kResetParameters:
74 break;
75 case kResetAll:
76 fInputObject.Reset(kResetAll);
77 break;
78 case kResetPartons:
79 Warning("FillFromFile", "kResetPartons not implemented") ;
80 break;
81 case kResetParticles:
82 Warning("FillFromFile", "kResetParticles not implemented") ;
83 break;
84 case kResetJets:
85 Warning("FillFromFile", "kResetJets not implemented") ;
86 break;
87 }// end switch
88
89}
90
91
92