]>
Commit | Line | Data |
---|---|---|
45a58699 | 1 | #ifndef ALIEMCALJETFINDERINPUTSIMPREP_H |
2 | #define ALIEMCALJETFINDERINPUTSIMPREP_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * * * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | //_________________________________________________________________________ | |
10 | // Class for JetFinder Input preparation from simulated data | |
11 | //*-- Author: Mark Horner (LBL/UCT) | |
12 | // | |
13 | // | |
14 | ||
15 | ||
16 | #include "AliEMCALJetFinderInput.h" | |
17 | #include "AliEMCALJetFinderInputPrep.h" | |
18 | #include "TTask.h" | |
19 | #include "AliEMCALJetFinderTypes.h" | |
20 | ||
21 | class AliEMCALJetFinderInputSimPrep : public AliEMCALJetFinderInputPrep | |
22 | { | |
23 | public: | |
24 | AliEMCALJetFinderInputSimPrep(); | |
25 | ~AliEMCALJetFinderInputSimPrep(); | |
26 | void Reset(AliEMCALJetFinderResetType_t resettype); | |
27 | void SetEMCALType(AliEMCALJetFinderEMCALType_t emcaltype ) {fEMCALType = emcaltype;} | |
28 | //void SetDebug(Int_t debug = 0) {fDebug = debug;} | |
29 | void SetSmearingType(AliEMCALJetFinderSmearingType_t smeartype ) {fSmearType = smeartype;} | |
30 | void SetTrackType(AliEMCALJetFinderTrackType_t tracktype){fTrackType = tracktype;} | |
31 | void SetEfficiency(Float_t efficiency) {fEfficiency = efficiency;} | |
32 | void SetTimeCut(Float_t timecut) {fTimeCut = timecut; fEMCALType = kTimeCut;} | |
33 | Int_t FillFromFile(TString *filename, AliEMCALJetFinderFileType_t filetype,Int_t EventNumber,TString data="XH"); | |
34 | AliEMCALJetFinderInput* GetJetFinderInput(){return &fInputObject;} | |
35 | private: | |
36 | void FillHits(); // Fill from the hits to input object from simulation | |
37 | void FillSDigits(); // Fill from the hits to input object from simulation | |
38 | void FillTracks(); // Fill from particles simulating a TPC to input object from simulation | |
39 | void Smear(TParticle *particle); | |
40 | Bool_t Efficiency(); | |
41 | void FillPartons(); // Fill partons to input object from simulation | |
42 | void FillPartonTracks(AliEMCALParton *parton); // Fill partons to input object from simulation | |
43 | void FillParticles(); // Fill particles to input object from simulation | |
44 | void FillDigits(); // Fill digits to input object | |
45 | ||
46 | AliEMCALJetFinderEMCALType_t fEMCALType; // The EMCAL type set by the user | |
47 | AliEMCALJetFinderSmearingType_t fSmearType; // The efficiency and smearing for TPC | |
48 | AliEMCALJetFinderTrackType_t fTrackType; // The Track type set by the user | |
49 | AliEMCALJetFinderFileType_t fFileType; //! The type of file being processed | |
50 | Float_t fEfficiency; // The TPC efficiency | |
51 | Float_t fTimeCut; // User specified time cut | |
52 | Float_t fEtaMax; // User specified time cut | |
53 | Float_t fEtaMin; // User specified time cut | |
54 | Float_t fPhiMax; // User specified time cut | |
55 | Float_t fPhiMin; // User specified time cut | |
56 | ||
57 | ClassDef(AliEMCALJetFinderInputSimPrep,1) | |
58 | ||
59 | }; | |
60 | #endif |