35 #ifndef CHEM4_ScoreSpecies_h
36 #define CHEM4_ScoreSpecies_h 1
104 if(&right ==
this)
return *
this;
115 #ifdef _ScoreSpecies_FOR_ALL_EVENTS
126 fNumber = right.fNumber;
129 fEventID = right.fEventID;
133 if(&right ==
this)
return *
this;
134 fNumber = right.fNumber;
137 fEventID = right.fEventID;
140 std::vector<int> fNumber;
141 std::vector<double> fG;
142 std::vector<double> fG2;
143 std::vector<int> fEventID;
153 #ifdef _ScoreSpecies_FOR_ALL_EVENTS
154 typedef std::map<Species, SpeciesInfoSOA> InnerSpeciesMapPerEvent;
155 typedef std::map<double, InnerSpeciesMapPerEvent> SpeciesMapPerEvent;
156 SpeciesMapPerEvent fSpeciesInfoPerEvent;
173 virtual void clear();
std::map< Species, SpeciesInfo > InnerSpeciesMap
virtual void AbsorbResultsFromWorkerScorer(G4VPrimitiveScorer *)
std::set< G4double > fTimeToRecord
virtual void EndOfEvent(G4HCofThisEvent *)
void WriteWithAnalysisManager(G4VAnalysisManager *)
virtual void OutputAndClear()
SpeciesMap GetSpeciesInfo()
SpeciesInfo(const SpeciesInfo &right)
std::map< double, InnerSpeciesMap > SpeciesMap
G4MolecularConfiguration * Species
ScoreSpecies(G4String name, G4int depth=0)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
G4THitsMap< G4double > * fEvtMap
int GetNumberOfRecordedEvents() const
SpeciesInfo & operator=(const SpeciesInfo &right)
SpeciesMap fSpeciesInfoPerTime
void AddTimeToRecord(double time)
virtual void Initialize(G4HCofThisEvent *)