]>
Commit | Line | Data |
---|---|---|
45a58699 | 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 | #include "Riostream.h" | |
31 | //..................... | |
32 | #include "AliEMCALJet.h" | |
33 | #include "AliEMCALParton.h" | |
34 | #include "AliEMCALJetFinderInputPrep.h" | |
35 | #include "AliEMCALJetFinderInput.h" | |
36 | ||
37 | ClassImp(AliEMCALJetFinderInputPrep) | |
38 | ||
39 | //________________________________________________________________________ | |
18a21c7c | 40 | AliEMCALJetFinderInputPrep::AliEMCALJetFinderInputPrep() |
41 | : fDebug(0),fInputObject(),fPythiaComparison(0) | |
45a58699 | 42 | { |
43 | // Default constructor | |
44 | if (fDebug > 0) Info("AliEMCALJetFinderInputPrep","Beginning Constructor"); | |
45 | fDebug = 0; | |
46 | fPythiaComparison = 0; // This requires lots of checks | |
47 | fInputObject.SetDebug(0); | |
48 | } | |
49 | AliEMCALJetFinderInputPrep::~AliEMCALJetFinderInputPrep() | |
50 | { | |
51 | ||
52 | } | |
53 | ||
54 | Int_t AliEMCALJetFinderInputPrep::FillFromFile(TString * /*filename*/, | |
55 | AliEMCALJetFinderFileType_t /*fileType*/, | |
56 | Int_t /*EventNumber*/) | |
57 | { | |
58 | return 0; | |
59 | } | |
60 | void AliEMCALJetFinderInputPrep::Reset(AliEMCALJetFinderResetType_t resettype) | |
61 | { | |
62 | // Reset data | |
63 | if (fDebug > 1) Info("Reset","Beginning Reset"); | |
64 | ||
65 | switch (resettype){ | |
66 | case kResetData: | |
67 | fInputObject.Reset(resettype); | |
68 | break; | |
69 | case kResetTracks: | |
70 | fInputObject.Reset(kResetTracks); | |
71 | break; | |
72 | case kResetDigits: | |
73 | fInputObject.Reset(kResetDigits); | |
74 | break; | |
75 | case kResetParameters: | |
76 | break; | |
77 | case kResetAll: | |
78 | fInputObject.Reset(kResetAll); | |
79 | break; | |
80 | case kResetPartons: | |
81 | Warning("FillFromFile", "kResetPartons not implemented") ; | |
82 | break; | |
83 | case kResetParticles: | |
84 | Warning("FillFromFile", "kResetParticles not implemented") ; | |
85 | break; | |
86 | case kResetJets: | |
87 | Warning("FillFromFile", "kResetJets not implemented") ; | |
88 | break; | |
89 | }// end switch | |
90 | ||
91 | } | |
92 | ||
93 | ||
94 |