/* * Chain.h * * Created on: Jan 16, 2012 * Author: Anastasia Karavdina */ #ifndef CHAIN_H_ #define CHAIN_H_ /* * List of 2 particle states for chain amplitude calculation */ #include "TwoParticleState.h" #include "Particle.h" #include class Chain { public: Chain(list ls, Particle ip, list lf); Chain(){} Chain(const Chain& t); virtual ~Chain(); double Jc(){return _Jc;} vector LyaFP(){return _lyafp;} list GetStates(){return _lstates;} void SetStates(list ls){_lstates = ls;} void Print(); void AddState(TwoParticleState add2st);//Add previous state to last one Particle GetIP(){return _ip;} void Update(); private: list _lstates;// List of 2 particle states for chain Particle _ip;// initial particle list _lfp;//list of final particles; double _Jc;// spin of initial particle (describes multiplicity) vector _lyafp;//helicity of final state }; #endif /* CHAIN_H_ */