]>
Commit | Line | Data |
---|---|---|
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 | |
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,AliEMCALJetFinderFileType_t fileType, Int_t EventNumber) | |
52 | { | |
53 | return 0; | |
54 | } | |
55 | void AliEMCALJetFinderInputPrep::Reset(AliEMCALJetFinderResetType_t resettype) | |
56 | { | |
57 | if (fDebug > 1) Info("Reset","Beginning Reset"); | |
58 | ||
59 | switch (resettype){ | |
60 | case kResetData: | |
61 | fInputObject.Reset(resettype); | |
62 | break; | |
63 | case kResetTracks: | |
64 | fInputObject.Reset(kResetTracks); | |
65 | break; | |
66 | case kResetDigits: | |
67 | fInputObject.Reset(kResetDigits); | |
68 | break; | |
69 | case kResetParameters: | |
70 | break; | |
71 | case kResetAll: | |
72 | fInputObject.Reset(kResetAll); | |
73 | break; | |
74 | case kResetPartons: | |
75 | Warning("FillFromFile", "kResetPartons not implemented") ; | |
76 | break; | |
77 | case kResetParticles: | |
78 | Warning("FillFromFile", "kResetParticles not implemented") ; | |
79 | break; | |
80 | case kResetJets: | |
81 | Warning("FillFromFile", "kResetJets not implemented") ; | |
82 | break; | |
83 | }// end switch | |
84 | ||
85 | } | |
86 | ||
87 | ||
88 |