PandaRoot
PndEmc2DLocMaxFinderTEST Class Reference

Searches for local maxima in a cluster. More...

#include <PndEmc2DLocMaxFinderTEST.h>

Inheritance diagram for PndEmc2DLocMaxFinderTEST:

Public Member Functions

 PndEmc2DLocMaxFinderTEST (Int_t verbose=0)
 
virtual ~PndEmc2DLocMaxFinderTEST ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void FinishTask ()
 
void SetStorageOfData (Bool_t p=kTRUE)
 

Protected Member Functions

virtual void SetParContainers ()
 
virtual bool isALocalMax (const PndEmcDigi *const, std::vector< Int_t > &amongstTheseNeighbours) const
 

Detailed Description

Searches for local maxima in a cluster.

Definition at line 42 of file PndEmc2DLocMaxFinderTEST.h.

Constructor & Destructor Documentation

◆ PndEmc2DLocMaxFinderTEST()

PndEmc2DLocMaxFinderTEST::PndEmc2DLocMaxFinderTEST ( Int_t  verbose = 0)

Referenced by SetStorageOfData().

◆ ~PndEmc2DLocMaxFinderTEST()

virtual PndEmc2DLocMaxFinderTEST::~PndEmc2DLocMaxFinderTEST ( )
virtual

Member Function Documentation

◆ Exec()

virtual void PndEmc2DLocMaxFinderTEST::Exec ( Option_t *  opt)
virtual

◆ FinishTask()

virtual void PndEmc2DLocMaxFinderTEST::FinishTask ( )
virtual

◆ Init()

virtual InitStatus PndEmc2DLocMaxFinderTEST::Init ( )
virtual

◆ isALocalMax()

virtual bool PndEmc2DLocMaxFinderTEST::isALocalMax ( const PndEmcDigi const,
std::vector< Int_t > &  amongstTheseNeighbours 
) const
protectedvirtual

Test to see whether the given Digi is a local maximum, within the set of crystals given in "amongstTheseNeighbours". Note that this set need all be crystals that actually were within the cluster.

Referenced by SetStorageOfData().

◆ SetParContainers()

virtual void PndEmc2DLocMaxFinderTEST::SetParContainers ( )
protectedvirtual

Get parameter containers

Referenced by SetStorageOfData().

◆ SetStorageOfData()

void PndEmc2DLocMaxFinderTEST::SetStorageOfData ( Bool_t  p = kTRUE)
inline

Definition at line 53 of file PndEmc2DLocMaxFinderTEST.h.

References isALocalMax(), PndEmc2DLocMaxFinderTEST(), and SetParContainers().

53 { fPersistance = p; };

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