PandaRoot
BSEmcDigiInfo_t Struct Reference

simple Struct used in Cluster classes to index crystal. Includes the weight of the crystal on the current cluster Used instead of EmcSharedDigi More...

#include <BSEmcCluster.h>

Inheritance diagram for BSEmcDigiInfo_t:
DigiLocationInfo

Public Member Functions

 BSEmcDigiInfo_t (Int_t t_digiIdx=-1, Int_t t_detId=0, Double_t t_weight=1.0)
 
Bool_t operator== (const BSEmcDigiInfo_t &t_other)
 

Public Attributes

Int_t fDigiIdx
 
Int_t fDetectorId
 
Double_t fWeight
 

Detailed Description

simple Struct used in Cluster classes to index crystal. Includes the weight of the crystal on the current cluster Used instead of EmcSharedDigi

Author
Ben Salisbury

Definition at line 39 of file BSEmcCluster.h.

Constructor & Destructor Documentation

◆ BSEmcDigiInfo_t()

BSEmcDigiInfo_t::BSEmcDigiInfo_t ( Int_t  t_digiIdx = -1,
Int_t  t_detId = 0,
Double_t  t_weight = 1.0 
)
inline

Definition at line 43 of file BSEmcCluster.h.

43 : fDigiIdx(t_digiIdx), fDetectorId(t_detId), fWeight(t_weight) {}
Double_t fWeight
Definition: BSEmcCluster.h:42

Member Function Documentation

◆ operator==()

Bool_t BSEmcDigiInfo_t::operator== ( const BSEmcDigiInfo_t t_other)
inline

Definition at line 44 of file BSEmcCluster.h.

References fDigiIdx.

44 { return fDigiIdx == t_other.fDigiIdx; }

Member Data Documentation

◆ fDetectorId

Int_t BSEmcDigiInfo_t::fDetectorId

Definition at line 41 of file BSEmcCluster.h.

◆ fDigiIdx

Int_t BSEmcDigiInfo_t::fDigiIdx

Definition at line 40 of file BSEmcCluster.h.

Referenced by operator==().

◆ fWeight

Double_t BSEmcDigiInfo_t::fWeight

Definition at line 42 of file BSEmcCluster.h.


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