6#include <KVSimNucleus.h>
22 cout <<
"\nKVSimEvent with " << GetMult(t) <<
" particles :" << endl;
23 cout <<
"------------------------------------" << endl;
26 for (
auto it = GetNextParticleIterator(t); it !=
end(); ++it) {
28 cout <<
" Position: (" << (*it).GetPosition().x() <<
"," << (*it).GetPosition().y() <<
"," << (*it).GetPosition().z() <<
")" << endl;
45 for (KVSimEvent::Iterator it =
begin(); it !=
end(); ++it) {
46 KVSimEvent::Iterator it2(it);
47 for (++it2; it2 !=
end(); ++it2) {
48 TVector3 D12 = (*it).GetPosition() - (*it2).GetPosition();
KVNameValueList fParameters
general-purpose list of parameters
void Clear(Option_t *opt="")
TClonesArray * fParticles
array of particles in event
static Double_t e2
e^2/(4.pi.epsilon_0) in MeV.fm
Container class for simulated nuclei, KVSimNucleus.
Double_t GetTotalCoulombEnergy() const
virtual void Print(Option_t *t="") const
Nucleus in a simulated event.
void Print(Option_t *t="") const
virtual Version_t ReadVersion(UInt_t *start=nullptr, UInt_t *bcnt=nullptr, const TClass *cl=nullptr)=0
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=nullptr)=0
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
void Streamer(TBuffer &) override
void Streamer(TBuffer &) override