]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALJetFinderInputPrep.cxx
corrected histogram details
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALJetFinderInputPrep.cxx
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
16 /* $Id$ */
17
18 //_________________________________________________________________________
19 //  Base Class for JetFinder Input Preparation
20 //
21 //*-- Author: Mark Horner (LBL/UCT)
22 //
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
37 ClassImp(AliEMCALJetFinderInputPrep)
38
39 //________________________________________________________________________
40 AliEMCALJetFinderInputPrep::AliEMCALJetFinderInputPrep()
41 {
42 if (fDebug > 0) Info("AliEMCALJetFinderInputPrep","Beginning Constructor");     
43   fDebug = 0;
44   fInputObject.SetDebug(0);
45 }
46 AliEMCALJetFinderInputPrep::~AliEMCALJetFinderInputPrep()
47 {
48
49 }
50
51 Int_t AliEMCALJetFinderInputPrep::FillFromFile(TString * /*filename*/,
52                                                AliEMCALJetFinderFileType_t /*fileType*/,
53                                                Int_t /*EventNumber*/)
54 {
55 return 0;
56 }
57 void AliEMCALJetFinderInputPrep::Reset(AliEMCALJetFinderResetType_t resettype)
58 {
59 if (fDebug > 1) Info("Reset","Beginning Reset");
60         
61         switch (resettype){
62                 case kResetData:
63                         fInputObject.Reset(resettype);
64                         break;
65                 case kResetTracks:
66                         fInputObject.Reset(kResetTracks);
67                         break;
68                 case kResetDigits:
69                         fInputObject.Reset(kResetDigits);
70                         break;
71                 case kResetParameters:
72                         break;
73                 case kResetAll:
74                         fInputObject.Reset(kResetAll);
75                         break;
76                 case kResetPartons:
77                   Warning("FillFromFile", "kResetPartons not implemented") ; 
78                   break;
79                case kResetParticles:
80                  Warning("FillFromFile", "kResetParticles not implemented") ; 
81                  break;
82                case kResetJets:
83                  Warning("FillFromFile", "kResetJets not implemented") ; 
84                  break;
85         }// end switch
86
87 }
88
89
90