Added protection when reading AliESDfriend for old ESD
[u/mrichter/AliRoot.git] / JETAN / AliJetAODReaderHeader.h
CommitLineData
586f2bc3 1#ifndef ALIJETAODREADERHEADER_H
2#define ALIJETAODREADERHEADER_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 AOD Reader Header
8// Header for the AOD reader in the jet analysis
9// Author: Davide Perrino (davide.perrino@cern.ch)
10
11#include "AliJetReaderHeader.h"
12
13class AliJetAODReaderHeader : public AliJetReaderHeader
14{
15
16 public:
17 AliJetAODReaderHeader();
18 virtual ~AliJetAODReaderHeader();
19
20 // Getters
21 Int_t GetNaod() const {return fNaod;}
22
23 // Setters
24 virtual void SetNumberOfAOD(Int_t i=1) {fNaod = i;}
25
26 protected:
27 Int_t fNaod; // number of aods
28
29 ClassDef(AliJetAODReaderHeader,1);
30};
31
32#endif