20#ifndef FAIR_PLUTOGENERATOR_H
21#define FAIR_PLUTOGENERATOR_H
23#include "FairGenerator.h"
26#include "TClonesArray.h"
31class FairPrimaryGenerator;
63 virtual Bool_t
ReadEvent(FairPrimaryGenerator* primGen);
78 TClonesArray*
fParticles{
new TClonesArray(
"PParticle", 100)};
PDataBase * makeDataBase()
PStaticData * makeStaticData()
CbmPlutoGenerator & operator=(const CbmPlutoGenerator &)=delete
PDataBase * fbase
pluto static data
Int_t GetNumAvailableEvents()
Get the maximum number of events available in the input file.
void CloseInput()
Maximum number of events in the input file.
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)
void SetManualPDG(Int_t pdg)
Int_t fAvailableEvents
forced pdg value for undefined pluto codes
virtual ~CbmPlutoGenerator()
CbmPlutoGenerator(const CbmPlutoGenerator &)=delete
Int_t iEvent
pluto data base
Int_t fPDGmanual
Particle array from PLUTO.
ClassDef(CbmPlutoGenerator, 5)
TClonesArray * fParticles
Pointer to input file.
const Char_t * fFileName
Event number.
TChain * fInputChain
Input file name.