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

#include <coresoftware/blob/master/simulation/g4simulation/g4vertex/GlobalVertex.h>

+ Inheritance diagram for GlobalVertex:
+ Collaboration diagram for GlobalVertex:

Public Types

enum  VTXTYPE { NONE = 0, BBC = 1, SVTX = 2 }
 
typedef std::map
< GlobalVertex::VTXTYPE,
unsigned int >::const_iterator 
ConstVtxIter
 
typedef std::map
< GlobalVertex::VTXTYPE,
unsigned int >::iterator 
VtxIter
 

Public Member Functions

 ~GlobalVertex () override
 
void identify (std::ostream &os=std::cout) const override
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
virtual unsigned int get_id () const
 
virtual void set_id (unsigned int)
 
virtual float get_t () const
 
virtual void set_t (float)
 
virtual float get_t_err () const
 
virtual void set_t_err (float)
 
virtual float get_x () const
 
virtual void set_x (float)
 
virtual float get_y () const
 
virtual void set_y (float)
 
virtual float get_z () const
 
virtual void set_z (float)
 
virtual float get_chisq () const
 
virtual void set_chisq (float)
 
virtual unsigned int get_ndof () const
 
virtual void set_ndof (unsigned int)
 
virtual float get_position (unsigned int) const
 
virtual void set_position (unsigned int, float)
 
virtual float get_error (unsigned int, unsigned int) const
 
virtual void set_error (unsigned int, unsigned int, float)
 
virtual bool empty_vtxids () const
 
virtual size_t size_vtxids () const
 
virtual size_t count_vtxids (VTXTYPE) const
 
virtual void clear_vtxids ()
 
virtual void insert_vtxids (VTXTYPE, unsigned int)
 
virtual size_t erase_vtxids (VTXTYPE)
 
virtual void erase_vtxids (VtxIter)
 
virtual void erase_vtxids (VtxIter, VtxIter)
 
virtual ConstVtxIter begin_vtxids () const
 
virtual ConstVtxIter find_vtxids (VTXTYPE type) const
 
virtual ConstVtxIter end_vtxids () const
 
virtual VtxIter begin_vtxids ()
 
virtual VtxIter find_vtxids (VTXTYPE type)
 
virtual VtxIter end_vtxids ()
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
virtual void Reset ()
 Clear Event.
 
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)
 

Protected Member Functions

 GlobalVertex ()
 

Private Member Functions

 ClassDefOverride (GlobalVertex, 1)
 

Detailed Description

Definition at line 12 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 12 of file GlobalVertex.h

Member Typedef Documentation

typedef std::map<GlobalVertex::VTXTYPE, unsigned int>::const_iterator GlobalVertex::ConstVtxIter

Definition at line 22 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 22 of file GlobalVertex.h

typedef std::map<GlobalVertex::VTXTYPE, unsigned int>::iterator GlobalVertex::VtxIter

Definition at line 23 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 23 of file GlobalVertex.h

Member Enumeration Documentation

Enumerator:
NONE 
BBC 
SVTX 

Definition at line 15 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 15 of file GlobalVertex.h

Constructor & Destructor Documentation

GlobalVertex::~GlobalVertex ( )
inlineoverride

Definition at line 25 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 25 of file GlobalVertex.h

GlobalVertex::GlobalVertex ( )
inlineprotected

Definition at line 90 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 90 of file GlobalVertex.h

Member Function Documentation

GlobalVertex::ConstVtxIter GlobalVertex::begin_vtxids ( ) const
virtual

Reimplemented in GlobalVertexv1.

Definition at line 5 of file GlobalVertex.cc.

View newest version in sPHENIX GitHub at line 5 of file GlobalVertex.cc

GlobalVertex::VtxIter GlobalVertex::begin_vtxids ( )
virtual

Reimplemented in GlobalVertexv1.

Definition at line 20 of file GlobalVertex.cc.

View newest version in sPHENIX GitHub at line 20 of file GlobalVertex.cc

GlobalVertex::ClassDefOverride ( GlobalVertex  ,
 
)
private
virtual void GlobalVertex::clear_vtxids ( )
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 75 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 75 of file GlobalVertex.h

PHObject* GlobalVertex::CloneMe ( ) const
inlineoverridevirtual

Virtual copy constructor.

Reimplemented from PHObject.

Reimplemented in GlobalVertexv1.

Definition at line 34 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 34 of file GlobalVertex.h

virtual size_t GlobalVertex::count_vtxids ( VTXTYPE  ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 73 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 73 of file GlobalVertex.h

virtual bool GlobalVertex::empty_vtxids ( ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 71 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 71 of file GlobalVertex.h

GlobalVertex::ConstVtxIter GlobalVertex::end_vtxids ( ) const
virtual

Reimplemented in GlobalVertexv1.

Definition at line 15 of file GlobalVertex.cc.

View newest version in sPHENIX GitHub at line 15 of file GlobalVertex.cc

GlobalVertex::VtxIter GlobalVertex::end_vtxids ( )
virtual

Reimplemented in GlobalVertexv1.

Definition at line 30 of file GlobalVertex.cc.

View newest version in sPHENIX GitHub at line 30 of file GlobalVertex.cc

virtual size_t GlobalVertex::erase_vtxids ( VTXTYPE  )
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 77 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 77 of file GlobalVertex.h

virtual void GlobalVertex::erase_vtxids ( VtxIter  )
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 78 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 78 of file GlobalVertex.h

virtual void GlobalVertex::erase_vtxids ( VtxIter  ,
VtxIter   
)
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 79 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 79 of file GlobalVertex.h

GlobalVertex::ConstVtxIter GlobalVertex::find_vtxids ( VTXTYPE  type) const
virtual

Reimplemented in GlobalVertexv1.

Definition at line 10 of file GlobalVertex.cc.

View newest version in sPHENIX GitHub at line 10 of file GlobalVertex.cc

GlobalVertex::VtxIter GlobalVertex::find_vtxids ( VTXTYPE  type)
virtual

Reimplemented in GlobalVertexv1.

Definition at line 25 of file GlobalVertex.cc.

View newest version in sPHENIX GitHub at line 25 of file GlobalVertex.cc

virtual float GlobalVertex::get_chisq ( ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 56 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 56 of file GlobalVertex.h

virtual float GlobalVertex::get_error ( unsigned int  ,
unsigned int   
) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 65 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 65 of file GlobalVertex.h

virtual unsigned int GlobalVertex::get_id ( ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 38 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 38 of file GlobalVertex.h

virtual unsigned int GlobalVertex::get_ndof ( ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 59 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 59 of file GlobalVertex.h

virtual float GlobalVertex::get_position ( unsigned int  ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 62 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 62 of file GlobalVertex.h

virtual float GlobalVertex::get_t ( ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 41 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 41 of file GlobalVertex.h

virtual float GlobalVertex::get_t_err ( ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 44 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 44 of file GlobalVertex.h

virtual float GlobalVertex::get_x ( ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 47 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 47 of file GlobalVertex.h

Referenced by CaloEvaluator::fillOutputNtuples(), ClusterJetInput::get_input(), AnaTutorialECCE::getEMCalClusters(), AnaTutorial::getEMCalClusters(), eIDMLInterface::getEMCalClusters(), CaloEvaluator::printOutputInfo(), RawClusterBuilderTemplate::process_event(), ClusterIso::process_event(), and CaloCalibEmc_Pi0::process_event().

+ Here is the caller graph for this function:

virtual float GlobalVertex::get_y ( ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 50 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 50 of file GlobalVertex.h

Referenced by CaloEvaluator::fillOutputNtuples(), ClusterJetInput::get_input(), AnaTutorialECCE::getEMCalClusters(), AnaTutorial::getEMCalClusters(), eIDMLInterface::getEMCalClusters(), CaloEvaluator::printOutputInfo(), RawClusterBuilderTemplate::process_event(), ClusterIso::process_event(), and CaloCalibEmc_Pi0::process_event().

+ Here is the caller graph for this function:

virtual float GlobalVertex::get_z ( ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 53 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 53 of file GlobalVertex.h

Referenced by CaloEvaluator::fillOutputNtuples(), TowerJetInput::get_input(), ClusterJetInput::get_input(), AnaTutorialECCE::getEMCalClusters(), AnaTutorial::getEMCalClusters(), eIDMLInterface::getEMCalClusters(), CaloEvaluator::printOutputInfo(), RawClusterBuilderTemplate::process_event(), ClusterIso::process_event(), and CaloCalibEmc_Pi0::process_event().

+ Here is the caller graph for this function:

void GlobalVertex::identify ( std::ostream &  os = std::cout) const
inlineoverridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in GlobalVertexv1.

Definition at line 29 of file GlobalVertex.h.

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

Referenced by GlobalVertexReco::process_event().

+ Here is the caller graph for this function:

virtual void GlobalVertex::insert_vtxids ( VTXTYPE  ,
unsigned int   
)
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 76 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 76 of file GlobalVertex.h

Referenced by GlobalVertexReco::process_event().

+ Here is the caller graph for this function:

int GlobalVertex::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Reimplemented in GlobalVertexv1.

Definition at line 33 of file GlobalVertex.h.

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

virtual void GlobalVertex::set_chisq ( float  )
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 57 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 57 of file GlobalVertex.h

Referenced by GlobalVertexReco::process_event().

+ Here is the caller graph for this function:

virtual void GlobalVertex::set_error ( unsigned int  ,
unsigned int  ,
float   
)
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 66 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 66 of file GlobalVertex.h

Referenced by GlobalVertexReco::process_event(), and GlobalVertexFastSimReco::process_event().

+ Here is the caller graph for this function:

virtual void GlobalVertex::set_id ( unsigned int  )
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 39 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 39 of file GlobalVertex.h

virtual void GlobalVertex::set_ndof ( unsigned int  )
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 60 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 60 of file GlobalVertex.h

Referenced by GlobalVertexReco::process_event().

+ Here is the caller graph for this function:

virtual void GlobalVertex::set_position ( unsigned int  ,
float   
)
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 63 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 63 of file GlobalVertex.h

Referenced by GlobalVertexReco::process_event().

+ Here is the caller graph for this function:

virtual void GlobalVertex::set_t ( float  )
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 42 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 42 of file GlobalVertex.h

Referenced by GlobalVertexReco::process_event(), and GlobalVertexFastSimReco::process_event().

+ Here is the caller graph for this function:

virtual void GlobalVertex::set_t_err ( float  )
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 45 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 45 of file GlobalVertex.h

Referenced by GlobalVertexReco::process_event(), and GlobalVertexFastSimReco::process_event().

+ Here is the caller graph for this function:

virtual void GlobalVertex::set_x ( float  )
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 48 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 48 of file GlobalVertex.h

Referenced by GlobalVertexReco::process_event(), and GlobalVertexFastSimReco::process_event().

+ Here is the caller graph for this function:

virtual void GlobalVertex::set_y ( float  )
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 51 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 51 of file GlobalVertex.h

Referenced by GlobalVertexReco::process_event(), and GlobalVertexFastSimReco::process_event().

+ Here is the caller graph for this function:

virtual void GlobalVertex::set_z ( float  )
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 54 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 54 of file GlobalVertex.h

Referenced by GlobalVertexReco::process_event(), and GlobalVertexFastSimReco::process_event().

+ Here is the caller graph for this function:

virtual size_t GlobalVertex::size_vtxids ( ) const
inlinevirtual

Reimplemented in GlobalVertexv1.

Definition at line 72 of file GlobalVertex.h.

View newest version in sPHENIX GitHub at line 72 of file GlobalVertex.h


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