Belle II Software development
CDCWireHitCluster Class Reference

An aggregation of CDCWireHits. More...

#include <CDCWireHitCluster.h>

Inheritance diagram for CDCWireHitCluster:

Public Member Functions

 CDCWireHitCluster ()=default
 Default constructor.
 
 CDCWireHitCluster (const CDCWireHitCluster &wireHitCluster)=default
 Default copy constructor.
 
 CDCWireHitCluster (std::vector< CDCWireHit * > wireHits)
 Constructor from a bunch of wire hits.
 
int getISuperCluster () const
 Get the super cluster id of this cluster.
 
void setISuperCluster (int iSuperCluster)
 Set the super cluster id of this cluster.
 
bool getBackgroundFlag () const
 Return if this was set as background.
 
void setBackgroundFlag (bool backgroundFlag=true)
 Set whether this cluster is consider as made of background.
 

Public Attributes

elements
 STL member.
 

Private Types

using Super = std::vector< CDCWireHit * >
 Type of the base class.
 

Private Attributes

int m_iSuperCluster = -1
 Memory for the super cluster id.
 
bool m_backgroundFlag = false
 Memory for the flag marking this cluster as background.
 

Detailed Description

An aggregation of CDCWireHits.

Definition at line 21 of file CDCWireHitCluster.h.

Member Typedef Documentation

◆ Super

using Super = std::vector<CDCWireHit*>
private

Type of the base class.

Definition at line 24 of file CDCWireHitCluster.h.

Constructor & Destructor Documentation

◆ CDCWireHitCluster()

CDCWireHitCluster ( std::vector< CDCWireHit * >  wireHits)
inlineexplicit

Constructor from a bunch of wire hits.

Definition at line 35 of file CDCWireHitCluster.h.

36 : Super(std::move(wireHits))
37 {
38 }
std::vector< CDCWireHit * > Super
Type of the base class.

Member Function Documentation

◆ getBackgroundFlag()

bool getBackgroundFlag ( ) const
inline

Return if this was set as background.

Definition at line 53 of file CDCWireHitCluster.h.

54 {
55 return m_backgroundFlag;
56 }
bool m_backgroundFlag
Memory for the flag marking this cluster as background.

◆ getISuperCluster()

int getISuperCluster ( ) const
inline

Get the super cluster id of this cluster.

Definition at line 41 of file CDCWireHitCluster.h.

42 {
43 return m_iSuperCluster;
44 }
int m_iSuperCluster
Memory for the super cluster id.

◆ setBackgroundFlag()

void setBackgroundFlag ( bool  backgroundFlag = true)
inline

Set whether this cluster is consider as made of background.

Definition at line 59 of file CDCWireHitCluster.h.

60 {
61 m_backgroundFlag = backgroundFlag;
62 }

◆ setISuperCluster()

void setISuperCluster ( int  iSuperCluster)
inline

Set the super cluster id of this cluster.

Definition at line 47 of file CDCWireHitCluster.h.

48 {
49 m_iSuperCluster = iSuperCluster;
50 }

Member Data Documentation

◆ m_backgroundFlag

bool m_backgroundFlag = false
private

Memory for the flag marking this cluster as background.

Definition at line 69 of file CDCWireHitCluster.h.

◆ m_iSuperCluster

int m_iSuperCluster = -1
private

Memory for the super cluster id.

Definition at line 66 of file CDCWireHitCluster.h.


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