Class RMGVertexOutputScheme¶
Defined in File RMGVertexOutputScheme.hh
Inheritance Relationships¶
Base Type¶
public RMGVOutputScheme(Class RMGVOutputScheme)
Class Documentation¶
-
class RMGVertexOutputScheme : public RMGVOutputScheme¶
Output scheme writing the primary vertices (and optionally primary particles).
Always stores its rows even when other schemes mark the event for discard, so that normalization quantities (e.g. number of generated primaries) remain unbiased. Optional fields for primary-particle kinematics are toggled through messenger commands.
Public Functions
-
RMGVertexOutputScheme()¶
-
virtual void AssignOutputNames(G4AnalysisManager*) override¶
Register vertex (and, if enabled, primary-particle) ntuple columns.
-
virtual void StoreEvent(const G4Event*) override¶
Fill one row per primary vertex of the event.
-
inline virtual bool StoreAlways() const override¶
Indicates whether the output scheme always stores event data.
Useful for output schemes that should always write out information regardless of filtering criteria defined by any output scheme in RMGVOutputScheme::ShouldDiscardEvent.
- Returns:
True if the scheme always stores event data, false otherwise.
Protected Functions
-
inline virtual std::string GetNtupleName(RMGDetectorMetadata) const override¶
-
RMGVertexOutputScheme()¶