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

#include <coresoftware/blob/master/offline/packages/CaloBase/RawClusterContainer.h>

+ Inheritance diagram for RawClusterContainer:
+ Collaboration diagram for RawClusterContainer:

Public Types

typedef std::map
< RawClusterDefs::keytype,
RawCluster * > 
Map
 
typedef Map::iterator Iterator
 
typedef Map::const_iterator ConstIterator
 
typedef std::pair< Iterator,
Iterator
Range
 
typedef std::pair
< ConstIterator, ConstIterator
ConstRange
 

Public Member Functions

 RawClusterContainer ()
 
 ~RawClusterContainer () override
 
void Reset () override
 Clear Event.
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
void identify (std::ostream &os=std::cout) const override
 
ConstIterator AddCluster (RawCluster *clus)
 
RawClustergetCluster (const RawClusterDefs::keytype id)
 
const RawClustergetCluster (const RawClusterDefs::keytype id) const
 
ConstRange getClusters (void) const
 return all clusters
 
Range getClusters (void)
 
const MapgetClustersMap () const
 
MapgetClustersMap ()
 
unsigned int size () const
 
double getTotalEdep () const
 
- 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 int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Attributes

Map _clusters
 

Detailed Description

Definition at line 14 of file RawClusterContainer.h.

View newest version in sPHENIX GitHub at line 14 of file RawClusterContainer.h

Member Typedef Documentation

typedef Map::const_iterator RawClusterContainer::ConstIterator

Definition at line 19 of file RawClusterContainer.h.

View newest version in sPHENIX GitHub at line 19 of file RawClusterContainer.h

Definition at line 21 of file RawClusterContainer.h.

View newest version in sPHENIX GitHub at line 21 of file RawClusterContainer.h

typedef Map::iterator RawClusterContainer::Iterator

Definition at line 18 of file RawClusterContainer.h.

View newest version in sPHENIX GitHub at line 18 of file RawClusterContainer.h

Definition at line 17 of file RawClusterContainer.h.

View newest version in sPHENIX GitHub at line 17 of file RawClusterContainer.h

Definition at line 20 of file RawClusterContainer.h.

View newest version in sPHENIX GitHub at line 20 of file RawClusterContainer.h

Constructor & Destructor Documentation

RawClusterContainer::RawClusterContainer ( )
inline

Definition at line 23 of file RawClusterContainer.h.

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

RawClusterContainer::~RawClusterContainer ( )
inlineoverride

Definition at line 24 of file RawClusterContainer.h.

View newest version in sPHENIX GitHub at line 24 of file RawClusterContainer.h

Member Function Documentation

RawClusterContainer::ConstIterator RawClusterContainer::AddCluster ( RawCluster clus)

Definition at line 23 of file RawClusterContainer.cc.

View newest version in sPHENIX GitHub at line 23 of file RawClusterContainer.cc

References RawCluster::set_id().

Referenced by TreeMaker::CopyAndMakeClusters(), RawClusterBuilderTopo::export_clusters(), VtxTest::numUnique(), RawClusterBuilderGraph::process_event(), RawClusterBuilderTemplate::process_event(), RawClusterPositionCorrection::process_event(), FilterEventsUpsilon::process_event(), and FilterEvents::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const RawCluster * RawClusterContainer::getCluster ( const RawClusterDefs::keytype  id) const

Definition at line 50 of file RawClusterContainer.cc.

View newest version in sPHENIX GitHub at line 50 of file RawClusterContainer.cc

References it.

Range RawClusterContainer::getClusters ( void  )
const Map& RawClusterContainer::getClustersMap ( ) const
inline

Definition at line 38 of file RawClusterContainer.h.

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

References _clusters.

Referenced by CaloEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), PHTrackClusterAssociator::getCluster(), PHActsTrackProjection::getClusterProperties(), IsolatedTrackAnalysis::getClusters(), RawClusterBuilderGraph::process_event(), RawClusterDeadHotMask::process_event(), and PHGenFitTrackProjection::process_event().

+ Here is the caller graph for this function:

Map& RawClusterContainer::getClustersMap ( )
inline

Definition at line 39 of file RawClusterContainer.h.

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

References _clusters.

double RawClusterContainer::getTotalEdep ( ) const

Definition at line 80 of file RawClusterContainer.cc.

View newest version in sPHENIX GitHub at line 80 of file RawClusterContainer.cc

Referenced by RawClusterBuilderGraph::process_event(), and RawClusterBuilderTemplate::process_event().

+ Here is the caller graph for this function:

void RawClusterContainer::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 74 of file RawClusterContainer.cc.

View newest version in sPHENIX GitHub at line 74 of file RawClusterContainer.cc

References size.

int RawClusterContainer::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 60 of file RawClusterContainer.cc.

View newest version in sPHENIX GitHub at line 60 of file RawClusterContainer.cc

void RawClusterContainer::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 65 of file RawClusterContainer.cc.

View newest version in sPHENIX GitHub at line 65 of file RawClusterContainer.cc

Referenced by RawClusterBuilderTemplate::process_event(), RawClusterPositionCorrection::process_event(), FilterEventsUpsilon::process_event(), FilterEvents::process_event(), and TruthConversionEval::process_event().

+ Here is the caller graph for this function:

Member Data Documentation

Map RawClusterContainer::_clusters
protected

Definition at line 45 of file RawClusterContainer.h.

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

Referenced by getClustersMap(), and size().


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