9 #ifndef ST_GAMMA_PYTHIA_EVENT_H
10 #define ST_GAMMA_PYTHIA_EVENT_H
15 #include "TLorentzVector.h"
16 #include "StSpinPool/StMCAsymMaker/StPythiaEvent.h"
27 virtual const char* GetCVS()
const
28 {
static const char cvs[] =
"Tag $Name: $ $Id: StGammaPythiaEvent.h,v 1.6 2014/08/06 11:43:18 jeromel Exp $ built " __DATE__
" " __TIME__;
return cvs; }
30 void Clear(Option_t* option =
"");
32 int numberOfPrompt()
const;
33 int numberOfConversion()
const;
34 int numberOfHadron()
const;
35 int numberOfNeutralPion()
const;
37 TLorentzVector& prompt(
int i);
38 TLorentzVector& conversion(
int i);
39 TLorentzVector& hadron(
int i);
40 TLorentzVector& neutralPion(
int i);
42 vector<TLorentzVector>& prompt();
43 vector<TLorentzVector>& conversion();
44 vector<TLorentzVector>& hadron();
45 vector<TLorentzVector>& neutralPion();
48 vector<TLorentzVector> mPrompt;
49 vector<TLorentzVector> mConversion;
50 vector<TLorentzVector> mHadron;
51 vector<TLorentzVector> mNeutralPion;
57 inline void StGammaPythiaEvent::Clear(Option_t* option)
63 StPythiaEvent::Clear(option);
66 inline int StGammaPythiaEvent::numberOfPrompt()
const {
return mPrompt.size(); }
67 inline int StGammaPythiaEvent::numberOfConversion()
const {
return mConversion.size(); }
68 inline int StGammaPythiaEvent::numberOfHadron()
const {
return mHadron.size(); }
69 inline int StGammaPythiaEvent::numberOfNeutralPion()
const {
return mNeutralPion.size(); }
71 inline TLorentzVector& StGammaPythiaEvent::prompt(
int i) {
return mPrompt[i]; }
72 inline TLorentzVector& StGammaPythiaEvent::conversion(
int i) {
return mConversion[i]; }
73 inline TLorentzVector& StGammaPythiaEvent::hadron(
int i) {
return mHadron[i]; }
74 inline TLorentzVector& StGammaPythiaEvent::neutralPion(
int i) {
return mNeutralPion[i]; }
76 inline vector<TLorentzVector>& StGammaPythiaEvent::prompt() {
return mPrompt; }
77 inline vector<TLorentzVector>& StGammaPythiaEvent::conversion() {
return mConversion; }
78 inline vector<TLorentzVector>& StGammaPythiaEvent::hadron() {
return mHadron; }
79 inline vector<TLorentzVector>& StGammaPythiaEvent::neutralPion() {
return mNeutralPion; }