PandaRoot
PndEmcClusterRemoveDuplCrys Class Reference

Task to remove duplicate crystals. More...

#include <PndEmcClusterRemoveDuplCrys.h>

Inheritance diagram for PndEmcClusterRemoveDuplCrys:

Public Member Functions

 PndEmcClusterRemoveDuplCrys (Int_t verbose=0)
 
virtual ~PndEmcClusterRemoveDuplCrys ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 

Detailed Description

Task to remove duplicate crystals.

In timebased cluster reconstruction, same detectorId might appear multiple times in the same cluster, which could cause undefined behavior in classical (eventbased) routines. The class provides a workaround, adding up the energies of all digis with the same origin (=crystal, detectorId). (One could also think off dumping the second hit, etc...)

Author
Ph. Mahlberg mahlb.nosp@m.erg@.nosp@m.hiskp.nosp@m..uni.nosp@m.-bonn.nosp@m..de

Definition at line 26 of file PndEmcClusterRemoveDuplCrys.h.

Constructor & Destructor Documentation

◆ PndEmcClusterRemoveDuplCrys()

PndEmcClusterRemoveDuplCrys::PndEmcClusterRemoveDuplCrys ( Int_t  verbose = 0)

◆ ~PndEmcClusterRemoveDuplCrys()

virtual PndEmcClusterRemoveDuplCrys::~PndEmcClusterRemoveDuplCrys ( )
inlinevirtual

Definition at line 33 of file PndEmcClusterRemoveDuplCrys.h.

References Exec(), Init(), and PndEmcClusterRemoveDuplCrys().

33 {};

Member Function Documentation

◆ Exec()

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

Virtual method Exec

Referenced by ~PndEmcClusterRemoveDuplCrys().

◆ Init()

virtual InitStatus PndEmcClusterRemoveDuplCrys::Init ( )
virtual

Virtual method Init

Referenced by ~PndEmcClusterRemoveDuplCrys().


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