forked from aiola/alice-fast-simulation
-
Notifications
You must be signed in to change notification settings - Fork 2
/
AliPythiaBase_dev.h
73 lines (51 loc) · 2.14 KB
/
AliPythiaBase_dev.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#ifndef ALIPYTHIABASE_DEV_H
#define ALIPYTHIABASE_DEV_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
#include <set>
#include <TObject.h>
#include <AliRndm.h>
#include <PythiaProcesses.h>
class AliFastGlauber;
class AliQuenchingWeights;
class AliStack;
class TClonesArray;
class AliPythiaBase_dev : public AliRndm
{
public:
AliPythiaBase_dev() {;}
virtual ~AliPythiaBase_dev() {;}
virtual Int_t Version() = 0;
// Convert to compressed code and print result (for debugging only)
virtual Int_t CheckedLuComp(Int_t /*kf*/) = 0;
// Pythia initialisation for selected processes
virtual void ProcInit (Process_t /*process*/, Float_t /*energy*/, Int_t /*strucfunc*/, Int_t /* tune */) = 0;
virtual void SetSeed(UInt_t /*seed*/);
virtual void GenerateEvent() = 0;
virtual Int_t GetNumberOfParticles() = 0;
virtual void EditEventList(Int_t /*i*/);
virtual Int_t GetParticles(TClonesArray*) = 0;
virtual void PrintStatistics() = 0;
virtual void EventListing() = 0;
virtual void SetDecayOff(const std::set<int>& pdg_codes) = 0;
// Treat protons as inside nuclei
virtual void SetNuclei(Int_t /*a1*/, Int_t /*a2*/, Int_t /*pdf*/) = 0;
// Print particle properties
virtual void PrintParticles() = 0;
virtual void SetLHEFile(const char* /*fname*/) = 0;
// Common Physics Configuration
virtual void SetWeightPower(Double_t /*p*/);
virtual void SetPtHardRange(Float_t /*ptmin*/, Float_t /*ptmax*/) = 0;
virtual void SetYHardRange(Float_t /*ymin*/, Float_t /*ymax*/) = 0;
virtual void SetInitialAndFinalStateRadiation(Int_t /*flag1*/, Int_t /*flag2*/) = 0;
// Common Getters
virtual Float_t GetEventWeight() { return 1; }
virtual Float_t GetXSection() = 0;
virtual Int_t ProcessCode() = 0;
virtual Float_t GetPtHard() = 0;
virtual Int_t GetNMPI() {return -1;}
virtual Int_t GetNSuperpositions() { return 1; }
virtual Bool_t EndOfLHEFileReached() { return kFALSE; }
ClassDef(AliPythiaBase_dev, 0) //ALICE UI to PYTHIA
};
#endif