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