CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Public Attributes
mkfit::IterationMaskIfcCmssw Struct Reference
Inheritance diagram for mkfit::IterationMaskIfcCmssw:
mkfit::IterationMaskIfcBase

Public Member Functions

const std::vector< bool > * get_mask_for_layer (int layer) const override
 
 IterationMaskIfcCmssw (const TrackerInfo &ti, const std::vector< const std::vector< bool > *> &maskvec)
 
- Public Member Functions inherited from mkfit::IterationMaskIfcBase
virtual ~IterationMaskIfcBase ()
 

Public Attributes

const std::vector< const std::vector< bool > * > & m_mask_vector
 
const TrackerInfom_trk_info
 

Detailed Description

Definition at line 17 of file runFunctions.cc.

Constructor & Destructor Documentation

◆ IterationMaskIfcCmssw()

mkfit::IterationMaskIfcCmssw::IterationMaskIfcCmssw ( const TrackerInfo ti,
const std::vector< const std::vector< bool > *> &  maskvec 
)
inline

Definition at line 21 of file runFunctions.cc.

22  : m_trk_info(ti), m_mask_vector(maskvec) {}
const std::vector< const std::vector< bool > * > & m_mask_vector
Definition: runFunctions.cc:19
const TrackerInfo & m_trk_info
Definition: runFunctions.cc:18

Member Function Documentation

◆ get_mask_for_layer()

const std::vector<bool>* mkfit::IterationMaskIfcCmssw::get_mask_for_layer ( int  layer) const
inlineoverridevirtual

Reimplemented from mkfit::IterationMaskIfcBase.

Definition at line 24 of file runFunctions.cc.

References mkfit::LayerInfo::is_pixel(), mkfit::TrackerInfo::layer(), m_mask_vector, and m_trk_info.

24  {
25  return m_trk_info.layer(layer).is_pixel() ? m_mask_vector[0] : m_mask_vector[1];
26  }
bool is_pixel() const
Definition: TrackerInfo.h:79
const LayerInfo & layer(int l) const
Definition: TrackerInfo.h:206
const std::vector< const std::vector< bool > * > & m_mask_vector
Definition: runFunctions.cc:19
const TrackerInfo & m_trk_info
Definition: runFunctions.cc:18

Member Data Documentation

◆ m_mask_vector

const std::vector<const std::vector<bool> *>& mkfit::IterationMaskIfcCmssw::m_mask_vector

Definition at line 19 of file runFunctions.cc.

Referenced by get_mask_for_layer().

◆ m_trk_info

const TrackerInfo& mkfit::IterationMaskIfcCmssw::m_trk_info

Definition at line 18 of file runFunctions.cc.

Referenced by get_mask_for_layer().