+//
+// Copyright : The FASTMC and SPHMC Collaboration
+// Author : Ionut Cristian Arsene
+// Affiliation : Oslo University, Norway & Institute for Space Sciences, Bucharest, Romania
+// e-mail : i.c.arsene@fys.uio.no
+// Date : 2007/05/30
+//
+// This class is using the particle and decay lists provided by the
+// THERMINATOR (Computer Physics Communications 174 669 (2006)) and
+// SHARE (Computer Physics Communications 167 229 (2005)) collaborations.
+//
+
#ifndef PARTICLEPDG_H
#define PARTICLEPDG_H
-/*
- Copyright : The FASTMC and SPHMC Collaboration
- Author : Ionut Cristian Arsene
- Affiliation : Oslo University, Norway & Institute for Space Sciences, Bucharest, Romania
- e-mail : i.c.arsene@fys.uio.no
- Date : 2007/05/30
-
- This class is using the particle and decay lists provided by the
- THERMINATOR (Computer Physics Communications 174 669 (2006)) and
- SHARE (Computer Physics Communications 167 229 (2005)) collaborations.
-*/
-
-#include "Rtypes.h"
-
-#ifndef DECAY_CHANNEL
+#include <Rtypes.h>
#include "DecayChannel.h"
-#endif
const Int_t kMaxDecayChannels = 100;
Double_t GetFullBranching();
DecayChannel* GetDecayChannel(Int_t i) const {
- if(0<=i && i<fNDecayChannels)
- return fDecayChannels[i];
- else
- return 0x0;
+ if(0<=i && i<fNDecayChannels) return fDecayChannels[i];
+ else return 0x0;
}
private:
ParticlePDG(const ParticlePDG&);
ParticlePDG& operator=(const ParticlePDG&);
- Char_t fName[9];
- Int_t fPDG;
- Double_t fMass;
- Double_t fWidth;
+ Char_t fName[9]; // particle name
+ Int_t fPDG; // PDG code
+ Double_t fMass; // mass
+ Double_t fWidth; // width
Double_t fSpin; // J
Double_t fIsospin; // I
Double_t fIsospinZ; // I3
Double_t fAntiStrangeQuarkNumber; // s- quark number
Double_t fCharmQuarkNumber; // c quark number
Double_t fAntiCharmQuarkNumber; // c- quark number
- Int_t fNDecayChannels;
+ Int_t fNDecayChannels; // number of decay channels
Bool_t fStable; // flag to turn on/off decay
- DecayChannel* fDecayChannels[kMaxDecayChannels];
+ DecayChannel* fDecayChannels[kMaxDecayChannels]; // array of decay channels
};
#endif