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

#include <fun4all_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 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 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 RawClusterBuilderkMA::cluster(), RawClusterBuilderkV3::cluster(), RawClusterBuilderTopo::export_clusters(), RawClusterBuilderGraph::process_event(), RawClusterPositionCorrection::process_event(), RawClusterBuilderTemplate::process_event(), and RawClusterBuilderFwd::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 39 of file RawClusterContainer.cc.

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

References it.

Referenced by JetRecoEval::all_truth_hits(), JetRecoEval::all_truth_particles(), JetRecoEval::all_truth_showers(), and JetRecoEval::get_energy_contribution().

+ 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.

RawClusterContainer::ConstRange RawClusterContainer::getClusters ( void  ) const

return all clusters

Definition at line 11 of file RawClusterContainer.cc.

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

Referenced by CaloRawClusterEval::all_clusters_from(), ClusterJetInput::get_input(), AnaTutorial::getEMCalClusters(), CaloAna::process_clusters(), RawClusterPositionCorrection::process_event(), RawClusterDeadAreaMask::process_event(), RawClusterBuilderTopo::process_event(), ParticleFlowReco::process_event(), ClusterIso::process_event(), CaloCalibEmc_Pi0::process_event(), and DumpRawClusterContainer::process_Node().

+ Here is the caller graph for this function:

RawClusterContainer::Range RawClusterContainer::getClusters ( void  )

Definition at line 17 of file RawClusterContainer.cc.

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

const Map& RawClusterContainer::getClustersMap ( ) const
inline
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(), RawClusterBuilderTemplate::process_event(), and RawClusterBuilderFwd::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

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

unsigned int RawClusterContainer::size ( void  ) const
inline

Definition at line 41 of file RawClusterContainer.h.

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

References _clusters.

Referenced by RawClusterDeadAreaMask::process_event(), ClusterIso::process_event(), EvalRootTTreeReco::process_event(), QAG4SimulationCalorimeter::process_event_Cluster(), QAG4SimulationEicCalorimeter::process_event_Cluster(), and DumpRawClusterContainer::process_Node().

+ 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: