Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackEvaluationContainerv1 Class Reference

track evaluation container More...

#include <coresoftware/blob/master/simulation/g4simulation/g4eval/TrackEvaluationContainerv1.h>

+ Inheritance diagram for TrackEvaluationContainerv1:
+ Collaboration diagram for TrackEvaluationContainerv1:

Classes

class  ClusterStruct
 cluster information More...
 
class  EventStruct
 event information More...
 
class  TrackStruct
 track information More...
 

Public Member Functions

 TrackEvaluationContainerv1 ()
 constructor
 
void Reset () override
 reset
 
accessors
const EventStruct::Listevents () const
 
const ClusterStruct::Listclusters () const
 
const TrackStruct::Listtracks () const
 
modifiers
void addEvent (const EventStruct &event)
 
void addCluster (const ClusterStruct &cluster)
 
void addTrack (const TrackStruct &track)
 
void clearEvents ()
 
void clearClusters ()
 
void clearTracks ()
 
- Public Member Functions inherited from TrackEvaluationContainer
 TrackEvaluationContainer ()
 constructor
 
 TrackEvaluationContainer (const TrackEvaluationContainer &)=delete
 copy constructor
 
TrackEvaluationContaineroperator= (const TrackEvaluationContainer &)=delete
 assignment operator
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectCloneMe () const
 Virtual copy constructor.
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
virtual void identify (std::ostream &os=std::cout) const
 
virtual int isValid () const
 isValid returns non zero if object contains vailid data
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Private Attributes

EventStruct::List m_events
 event struct
 
ClusterStruct::List m_clusters
 clusters array
 
TrackStruct::List m_tracks
 tracks array
 

Detailed Description

track evaluation container

Contains:

  • some global quantities, such as number of clusters in tracking detectors
  • relevant information on clusters,
  • relevant information on tracks, including redundant information about participating clusters Each of those can be turned on/off using flags in the filling module at runtime

IMPORTANT NOTE: do not modify and commit neither this class or subclasses. This will render past DSTs containing the container unreadible If you plan permanent modification to the class you need to create a TrackEvaluationContainerv2, copy the relevant code from this one there and modify the TrackEvaluation module in order to use the new container

Definition at line 29 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 29 of file TrackEvaluationContainerv1.h

Constructor & Destructor Documentation

TrackEvaluationContainerv1::TrackEvaluationContainerv1 ( )
inlineexplicit

constructor

Definition at line 33 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 33 of file TrackEvaluationContainerv1.h

References m_events.

Member Function Documentation

void TrackEvaluationContainerv1::addCluster ( const ClusterStruct cluster)
inline

Definition at line 278 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 278 of file TrackEvaluationContainerv1.h

References m_clusters.

Referenced by TrackEvaluation::evaluate_clusters().

+ Here is the caller graph for this function:

void TrackEvaluationContainerv1::addEvent ( const EventStruct event)
inline

Definition at line 273 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 273 of file TrackEvaluationContainerv1.h

References m_events.

Referenced by TrackEvaluation::evaluate_event().

+ Here is the caller graph for this function:

void TrackEvaluationContainerv1::addTrack ( const TrackStruct track)
inline

Definition at line 283 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 283 of file TrackEvaluationContainerv1.h

References m_tracks.

Referenced by TrackEvaluation::evaluate_tracks().

+ Here is the caller graph for this function:

void TrackEvaluationContainerv1::clearClusters ( )
inline

Definition at line 293 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 293 of file TrackEvaluationContainerv1.h

References m_clusters.

Referenced by TrackEvaluation::evaluate_clusters().

+ Here is the caller graph for this function:

void TrackEvaluationContainerv1::clearEvents ( )
inline

Definition at line 288 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 288 of file TrackEvaluationContainerv1.h

References m_events.

void TrackEvaluationContainerv1::clearTracks ( )
inline

Definition at line 298 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 298 of file TrackEvaluationContainerv1.h

References m_tracks.

Referenced by DSTEmulator::evaluate_tracks(), and TrackEvaluation::evaluate_tracks().

+ Here is the caller graph for this function:

const ClusterStruct::List& TrackEvaluationContainerv1::clusters ( ) const
inline

Definition at line 258 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 258 of file TrackEvaluationContainerv1.h

References m_clusters.

const EventStruct::List& TrackEvaluationContainerv1::events ( ) const
inline

Definition at line 253 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 253 of file TrackEvaluationContainerv1.h

References m_events.

void TrackEvaluationContainerv1::Reset ( )
overridevirtual

reset

Reimplemented from PHObject.

Definition at line 9 of file TrackEvaluationContainerv1.cc.

View newest version in sPHENIX GitHub at line 9 of file TrackEvaluationContainerv1.cc

References m_clusters, m_events, and m_tracks.

Referenced by TrackEvaluation::process_event(), and DSTEmulator::process_event().

+ Here is the caller graph for this function:

const TrackStruct::List& TrackEvaluationContainerv1::tracks ( ) const
inline

Definition at line 263 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 263 of file TrackEvaluationContainerv1.h

References m_tracks.

Referenced by DSTEmulator::evaluate_tracks().

+ Here is the caller graph for this function:

Member Data Documentation

ClusterStruct::List TrackEvaluationContainerv1::m_clusters
private

clusters array

Definition at line 311 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 311 of file TrackEvaluationContainerv1.h

Referenced by addCluster(), clearClusters(), clusters(), and Reset().

EventStruct::List TrackEvaluationContainerv1::m_events
private

event struct

Definition at line 308 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 308 of file TrackEvaluationContainerv1.h

Referenced by addEvent(), clearEvents(), events(), Reset(), and TrackEvaluationContainerv1().

TrackStruct::List TrackEvaluationContainerv1::m_tracks
private

tracks array

Definition at line 314 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 314 of file TrackEvaluationContainerv1.h

Referenced by addTrack(), clearTracks(), Reset(), and tracks().


The documentation for this class was generated from the following files: