Coding rule violations corrected.
[u/mrichter/AliRoot.git] / EVGEN / AliGenExtFile.h
CommitLineData
f87cfe57 1#ifndef ALIGENEXTFILE_H
2#define ALIGENEXTFILE_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
f87cfe57 8
675e9664 9// Event generator that can read the old ALICE event format based on CW-ntuples
10// http://consult.cern.ch/alice/Internal_Notes/1995/32/abstract
11// Author: andreas.morsch@cern.ch
f87cfe57 12
380956c5 13#include "AliGenMC.h"
a48e3376 14#include "AliGenReader.h"
15
675e9664 16class TTree;
693caace 17
380956c5 18class AliGenExtFile : public AliGenMC
693caace 19{
f87cfe57 20 public:
21 AliGenExtFile();
22 AliGenExtFile(Int_t npart);
a48e3376 23 AliGenExtFile(const AliGenExtFile &ext);
f87cfe57 24 virtual ~AliGenExtFile();
25 // Initialise
a48e3376 26 virtual void Init();
f87cfe57 27 // generate event
28 virtual void Generate();
29 AliGenExtFile & operator=(const AliGenExtFile & rhs);
a48e3376 30 void SetReader(AliGenReader* reader) {fReader = reader;}
2c354237 31 protected:
32 void CdEventFile();
198bb1c7 33 void Copy(AliGenExtFile&) const;
a48e3376 34 const Text_t *fFileName; //! File to read from
35 AliGenReader *fReader; //! Reader to read the file
f87cfe57 36
37 ClassDef(AliGenExtFile,1) //Generate particles from external file
693caace 38};
39#endif
40
41
42
43
44
45