61 if (xSource !=
nullptr)
74 G4cout <<
"---- " << name <<
"---- Cross section" <<
G4endl;
77 if (xSource) xSource->
Print();
79 G4int nComponents = 0;
83 nComponents = (
G4int)components->size();
85 G4cout <<
"---- " << name <<
"---- has " << nComponents <<
" components" <<
G4endl;
89 for (
auto iter = components->cbegin(); iter != components->cend(); ++iter)
91 G4cout <<
"---- " << name <<
" ---- Component " << i <<
G4endl;
106 G4cout <<
"---- " << name <<
"is in charge ---- " <<
G4endl;
110 G4cout <<
"---- " << name <<
"is not in charge ---- " <<
G4endl;
113 G4cout <<
"---- " << name <<
"---- Cross section" <<
G4endl;
116 if (xSource) xSource->
Print();
119 G4int nComponents = 0;
123 nComponents = (
G4int)components->size();
125 G4cout <<
"---- " << name <<
"has " << nComponents <<
" components" <<
G4endl;
130 for (
auto iter = components->cbegin(); iter != components->cend(); ++iter)
std::vector< G4VCollision * > G4CollisionVector
G4GLOB_DLL std::ostream G4cout
virtual G4double CrossSection(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
G4bool operator!=(const G4VCollision &right) const
virtual const G4CollisionVector * GetComponents() const
void establish_G4MT_TLS_G4VCollision()
virtual G4bool IsInCharge(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const =0
virtual void Print() const
G4bool operator==(const G4VCollision &right) const
virtual const G4VCrossSectionSource * GetCrossSectionSource() const =0
virtual G4String GetName() const =0
virtual G4double CrossSection(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const =0
virtual void Print() const