Add a protection to avoid crash in QA (Julian)
[u/mrichter/AliRoot.git] / JETAN / AliJetKineReaderHeader.h
CommitLineData
99e5fe42 1#ifndef ALIJETKINEREADERHEADER_H
2#define ALIJETKINEREADERHEADER_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 Kinematics Reader Header
8// Header for the Kine reader in the jet analysis
9// Author: Andreas Morsch (andreas.morsch@cern.ch)
10
11#include "AliJetReaderHeader.h"
12
13class AliJetKineReaderHeader : public AliJetReaderHeader
14{
15
16 public:
17 AliJetKineReaderHeader();
18 virtual ~AliJetKineReaderHeader();
19
20 // Setters
83a444b1 21 void SetFastSimTPC(Bool_t flag = kTRUE) {fFastSimTPC = flag;} // if TPC fast simulation
22 void SetFastSimEMCAL(Bool_t flag = kTRUE) {fFastSimEMCAL = flag;} // if EMCAL fast simulation
eadf8168 23 void SetChargedOnly(Bool_t flag = kTRUE) {fChargedOnly = flag;} // for charged particles only, no smearing and no acceptance cuts
83a444b1 24
99e5fe42 25 // Getter
26 Bool_t FastSimTPC() const {return fFastSimTPC;}
dd1aa8ee 27 Bool_t FastSimEMCAL() const {return fFastSimEMCAL;}
eadf8168 28 Bool_t ChargedOnly() const {return fChargedOnly;}
83a444b1 29
99e5fe42 30
31 protected:
32 //parameters set by user
1240edf5 33 Bool_t fFastSimTPC; // TPC fast simulation flag
34 Bool_t fFastSimEMCAL; // EMCAL fast simulation flag
35 Bool_t fChargedOnly; // Charged particle only flag
83a444b1 36
eadf8168 37 ClassDef(AliJetKineReaderHeader,2);
99e5fe42 38};
39
40#endif