ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
InDet::PixelClusterSplitProb Class Reference

#include <PixelClusterSplitProb.h>

Collaboration diagram for InDet::PixelClusterSplitProb:

Public Member Functions

 PixelClusterSplitProb (double splitProbability)
 constructor More...
 
 PixelClusterSplitProb (const std::vector< double > &splitProbabilities)
 constructor More...
 
 PixelClusterSplitProb (const PixelClusterSplitProb &pcp)=default
 default operations More...
 
PixelClusterSplitProboperator= (const PixelClusterSplitProb &rhs)=default
 
 PixelClusterSplitProb (PixelClusterSplitProb &&pcp)=default
 
PixelClusterSplitProboperator= (PixelClusterSplitProb &&rhs)=default
 
 ~PixelClusterSplitProb ()=default
 destructor More...
 
double splitProbability (unsigned int nParticles=2) const
 return method : total split probability More...
 
unsigned int getHighestSplitMultiplicityStored () const
 return method : numberOfProbabilitiesStored More...
 

Private Attributes

std::vector< double > m_splitProbabilities
 

Detailed Description

return object of the IPixelClusterSplitProbTool

Author
Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch

Definition at line 25 of file PixelClusterSplitProb.h.

Constructor & Destructor Documentation

◆ PixelClusterSplitProb() [1/4]

InDet::PixelClusterSplitProb::PixelClusterSplitProb ( double  splitProbability)
inline

constructor

Definition at line 29 of file PixelClusterSplitProb.h.

30  {
32  }

◆ PixelClusterSplitProb() [2/4]

InDet::PixelClusterSplitProb::PixelClusterSplitProb ( const std::vector< double > &  splitProbabilities)
inline

constructor

Definition at line 35 of file PixelClusterSplitProb.h.

35  :
36  m_splitProbabilities(splitProbabilities)
37  {}

◆ PixelClusterSplitProb() [3/4]

InDet::PixelClusterSplitProb::PixelClusterSplitProb ( const PixelClusterSplitProb pcp)
default

default operations

◆ PixelClusterSplitProb() [4/4]

InDet::PixelClusterSplitProb::PixelClusterSplitProb ( PixelClusterSplitProb &&  pcp)
default

◆ ~PixelClusterSplitProb()

InDet::PixelClusterSplitProb::~PixelClusterSplitProb ( )
default

destructor

Member Function Documentation

◆ getHighestSplitMultiplicityStored()

unsigned int InDet::PixelClusterSplitProb::getHighestSplitMultiplicityStored ( ) const
inline

return method : numberOfProbabilitiesStored

Definition at line 68 of file PixelClusterSplitProb.h.

69  {
70  return m_splitProbabilities.size()+1;
71  }

◆ operator=() [1/2]

PixelClusterSplitProb& InDet::PixelClusterSplitProb::operator= ( const PixelClusterSplitProb rhs)
default

◆ operator=() [2/2]

PixelClusterSplitProb& InDet::PixelClusterSplitProb::operator= ( PixelClusterSplitProb &&  rhs)
default

◆ splitProbability()

double InDet::PixelClusterSplitProb::splitProbability ( unsigned int  nParticles = 2) const
inline

return method : total split probability

Definition at line 60 of file PixelClusterSplitProb.h.

61  {
62 
63  if (nParticles<2) return -100;
64  if (m_splitProbabilities.size()<nParticles-1) return -99;
65  return m_splitProbabilities[nParticles-2];
66  }

Member Data Documentation

◆ m_splitProbabilities

std::vector<double> InDet::PixelClusterSplitProb::m_splitProbabilities
private

Definition at line 56 of file PixelClusterSplitProb.h.


The documentation for this class was generated from the following file:
InDet::PixelClusterSplitProb::m_splitProbabilities
std::vector< double > m_splitProbabilities
Definition: PixelClusterSplitProb.h:56
InDet::PixelClusterSplitProb::splitProbability
double splitProbability(unsigned int nParticles=2) const
return method : total split probability
Definition: PixelClusterSplitProb.h:60