]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALJetFinderInputSimPrep.h
Implementing Marco's optimisations
[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;}
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);
34 AliEMCALJetFinderInput* GetJetFinderInput(){return &fInputObject;}
35 private:
36 void FillHits(); // Fill from the hits to input object from simulation
37 void FillTracks(); // Fill from particles simulating a TPC to input object from simulation
38 void Smear(TParticle *particle);
39 Bool_t Efficiency();
40 void FillPartons(); // Fill partons to input object from simulation
41 void FillPartonTracks(AliEMCALParton *parton); // Fill partons to input object from simulation
42 void FillParticles(); // Fill particles to input object from simulation
43 void FillDigits(); // Fill digits to input object
44
45 AliEMCALJetFinderEMCALType_t fEMCALType; // The EMCAL type set by the user
46 AliEMCALJetFinderSmearingType_t fSmearType; // The efficiency and smearing for TPC
47 AliEMCALJetFinderTrackType_t fTrackType; // The Track type set by the user
48 AliEMCALJetFinderFileType_t fFileType; //! The type of file being processed
49 Float_t fEfficiency; // The TPC efficiency
50 Float_t fTimeCut; // User specified time cut
51 Float_t fEtaMax; // User specified time cut
52 Float_t fEtaMin; // User specified time cut
53 Float_t fPhiMax; // User specified time cut
54 Float_t fPhiMin; // User specified time cut
55
56 ClassDef(AliEMCALJetFinderInputSimPrep,1)
57
58};
59#endif