- TDatabasePDG *fPdgDB;
- Int_t PiPlusCode;
- Int_t PiMinusCode;
- Int_t KPlusCode;
- Int_t KMinusCode;
- Int_t ProtonCode;
- Int_t AntiProtonCode;
- Int_t LambdaCode;
- Int_t AntiLambdaCode;
- Int_t K0SCode;
- Int_t OmegaCode;
- Int_t AntiOmegaCode;
- Int_t Xi0Code;
- Int_t AntiXi0Code;
- Int_t XiCode;
- Int_t AntiXiCode;
- Int_t SigmaCode;
- Int_t AntiSigmaCode;
- Int_t K0LCode;
- Int_t NeutronCode;
- Int_t AntiNeutronCode;
- Int_t EPlusCode;
- Int_t EMinusCode;
- Float_t PionMass;
-
- /** Sum of the total Et for all events */
- Double_t fSumEt;
-
- /** Sum of the total Et within our acceptance for all events */
- Double_t fSumEtAcc;
-
- /** Total Et in the event (without acceptance cuts) */
- Double_t fTotEt;
-
- /** Total Et in the event within the acceptance cuts */
- Double_t fTotEtAcc;
-
- /** Total neutral Et in the event */
- Double_t fTotNeutralEt;
+ TDatabasePDG *fPdgDB;//data base used for looking up pdg codes
+ //these codes are stored as variables because otherwise there were issues using this with the plugin
+ Int_t fPiPlusCode;//pdg pi plus code
+ Int_t fPiMinusCode;//pdg pi minus code
+ Int_t fKPlusCode;// pdg k plus code
+ Int_t fKMinusCode;//pdg k minus code
+ Int_t fProtonCode;//pdg proton code
+ Int_t fAntiProtonCode;//pdg antiproton code
+ Int_t fLambdaCode;// pdg lambda code
+ Int_t fAntiLambdaCode;//pdg antilambda code
+ Int_t fK0SCode;//pdg k0 short code
+ Int_t fOmegaCode;//pdg omega code
+ Int_t fAntiOmegaCode;//pdg anti-omega code
+ Int_t fXi0Code;//pdg xi-0 code
+ Int_t fAntiXi0Code;//pdg anti-xi0 code
+ Int_t fXiCode;//pdg xi code
+ Int_t fAntiXiCode;//pdg anti-xi code
+ Int_t fSigmaCode;//pdg sigma code
+ Int_t fAntiSigmaCode;//pdg anti-sigma code
+ Int_t fK0LCode;//pdg k0 long code
+ Int_t fNeutronCode;//pdg neutron code
+ Int_t fAntiNeutronCode;//pdg anti-neutron code
+ Int_t fEPlusCode;//pdg positron code
+ Int_t fEMinusCode;//pdg electron code
+ Float_t fPionMass;//pdg pion mass