coverity fixes
[u/mrichter/AliRoot.git] / JETAN / AliJetKineReader.h
CommitLineData
99e5fe42 1#ifndef ALIJETKINEREADER_H
2#define ALIJETKINEREADER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7// Jet Kine Reader
8// MC Kinematics reader for jet analysis
9// Author: Andreas Morsch (andreas.morsch@cern.ch)
10
11#include "AliJetReader.h"
12
13class AliRunLoader;
0ffa8579 14class AliHeader;
b0394c65 15class AliMCEvent;
85575952 16class TClonesArray;
17
99e5fe42 18
19class AliJetKineReader : public AliJetReader
20{
21 public:
22 AliJetKineReader();
23 virtual ~AliJetKineReader();
99e5fe42 24 // Setters
ae24a5a1 25 Bool_t FillMomentumArray();
0ffa8579 26 void OpenInputFiles();
c4688b3a 27 void SetInputEvent(const TObject* esd, const TObject* aod, const TObject* mc);
dd1aa8ee 28 // Fast Simulation
29 Float_t SmearMomentum(Int_t ind, Float_t p);
30 Bool_t Efficiency(Float_t pt, Float_t eta, Float_t phi);
0ffa8579 31 // Others
85575952 32 TClonesArray* GetGeneratedJets();
33 virtual AliHeader* GetAliHeader() const {return fAliHeader;}
0ffa8579 34
99e5fe42 35 protected:
1b7d5d7e 36 AliJetKineReader(const AliJetKineReader& rJetKine);
37 AliJetKineReader& operator = (const AliJetKineReader& rkr);
38
85575952 39 AliHeader *fAliHeader; //! Header
b0394c65 40 AliMCEvent *fMCEvent; //! Monte Carlo Event Handler
85575952 41 TClonesArray *fGenJets; //! List of generated jets
99e5fe42 42 ClassDef(AliJetKineReader,1)
43};
44
45#endif