]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALJetFinderInputSimPrep.h
Splitting loader class to have proper debug messages
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALJetFinderInputSimPrep.h
CommitLineData
f7d5860b 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
21class 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;}
9622226e 29 void SetSmearingType(AliEMCALJetFinderSmearingType_t smeartype ) {fSmearType = smeartype;}
f7d5860b 30 void SetTrackType(AliEMCALJetFinderTrackType_t tracktype){fTrackType = tracktype;}
9622226e 31 void SetEfficiency(Float_t efficiency) {fEfficiency = efficiency;}
f7d5860b 32 void SetTimeCut(Float_t timecut) {fTimeCut = timecut; fEMCALType = kTimeCut;}
9622226e 33 Int_t FillFromFile(TString *filename, AliEMCALJetFinderFileType_t filetype,Int_t EventNumber,TString data);
f7d5860b 34 AliEMCALJetFinderInput* GetJetFinderInput(){return &fInputObject;}
35 private:
36 void FillHits(); // Fill from the hits to input object from simulation
9622226e 37 void FillSDigits(); // Fill from the hits to input object from simulation
f7d5860b 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