EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackEvaluationContainerv1 Class Reference

track evaluation container More...

#include <fun4all_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 isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
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 35 of file TrackEvaluationContainerv1.h.

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

References m_events.

Member Function Documentation

void TrackEvaluationContainerv1::addCluster ( const ClusterStruct cluster)
inline

Definition at line 260 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 260 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 257 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 257 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 263 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 263 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 269 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 269 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 266 of file TrackEvaluationContainerv1.h.

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

References m_events.

void TrackEvaluationContainerv1::clearTracks ( )
inline

Definition at line 272 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 272 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 246 of file TrackEvaluationContainerv1.h.

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

References m_clusters.

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

Definition at line 243 of file TrackEvaluationContainerv1.h.

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

References m_events.

Referenced by pepsimainerhic().

+ Here is the caller graph for this function:

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 249 of file TrackEvaluationContainerv1.h.

View newest version in sPHENIX GitHub at line 249 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 284 of file TrackEvaluationContainerv1.h.

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

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

EventStruct::List TrackEvaluationContainerv1::m_events
private

event struct

Definition at line 281 of file TrackEvaluationContainerv1.h.

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

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

TrackStruct::List TrackEvaluationContainerv1::m_tracks
private

tracks array

Definition at line 287 of file TrackEvaluationContainerv1.h.

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

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


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