CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
SiPixelDisabledModules Class Reference

#include <SiPixelDisabledModules.h>

Public Types

typedef std::vector
< disabledModuleType
disabledModuleListType
 
typedef DetId disabledModuleType
 

Public Member Functions

void addDisabledModule (disabledModuleType module)
 
void addDisabledModule (disabledModuleListType idVector)
 
disabledModuleListType getDisabledModuleList ()
 
bool isModuleDisabled (disabledModuleType module)
 
bool removeDisabledModule (disabledModuleType module)
 
void setDisabledModuleList (disabledModuleListType disabledModules)
 
 SiPixelDisabledModules ()
 
 SiPixelDisabledModules (disabledModuleListType disabledModules)
 
virtual ~SiPixelDisabledModules ()
 

Private Attributes

disabledModuleListType theDisabledModules
 

Detailed Description

Definition at line 16 of file SiPixelDisabledModules.h.

Member Typedef Documentation

Definition at line 20 of file SiPixelDisabledModules.h.

Definition at line 19 of file SiPixelDisabledModules.h.

Constructor & Destructor Documentation

SiPixelDisabledModules::SiPixelDisabledModules ( )
inline

Definition at line 22 of file SiPixelDisabledModules.h.

22 {;}
SiPixelDisabledModules::SiPixelDisabledModules ( disabledModuleListType  disabledModules)
inline

Definition at line 25 of file SiPixelDisabledModules.h.

25 : theDisabledModules(disabledModules) {;}
disabledModuleListType theDisabledModules
virtual SiPixelDisabledModules::~SiPixelDisabledModules ( )
inlinevirtual

Definition at line 27 of file SiPixelDisabledModules.h.

27 {;}

Member Function Documentation

void SiPixelDisabledModules::addDisabledModule ( disabledModuleType  module)
inline

Definition at line 38 of file SiPixelDisabledModules.h.

References theDisabledModules.

39  { theDisabledModules.push_back(module); }
Definition: vlib.h:209
disabledModuleListType theDisabledModules
void SiPixelDisabledModules::addDisabledModule ( disabledModuleListType  idVector)

Definition at line 13 of file SiPixelDisabledModules.cc.

References theDisabledModules.

13  {
15  idVector.begin(),
16  idVector.end());
17 
18 } // void SiPixelDisabledModules::addDisabledModule(disabledModuleListType idVector)
disabledModuleListType theDisabledModules
disabledModuleListType SiPixelDisabledModules::getDisabledModuleList ( )
inline

Definition at line 30 of file SiPixelDisabledModules.h.

References theDisabledModules.

31  { return theDisabledModules; }
disabledModuleListType theDisabledModules
bool SiPixelDisabledModules::isModuleDisabled ( disabledModuleType  module)

Definition at line 38 of file SiPixelDisabledModules.cc.

References spr::find(), python.rootplot.argparse::module, and theDisabledModules.

38  {
39  disabledModuleListType::const_iterator iter = find(theDisabledModules.begin(),
40  theDisabledModules.end(),
41  module);
42 
43  return iter != theDisabledModules.end();
44 
45 } // bool SiPixelDisabledModules::isModuleDisabled(disabledModuleType module)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
disabledModuleListType theDisabledModules
bool SiPixelDisabledModules::removeDisabledModule ( disabledModuleType  module)

Definition at line 23 of file SiPixelDisabledModules.cc.

References spr::find(), python.rootplot.argparse::module, and theDisabledModules.

23  {
24  disabledModuleListType::iterator iter = find(theDisabledModules.begin(),
25  theDisabledModules.end(),
26  module);
27  if (iter == theDisabledModules.end())
28  return false;
29 
30  theDisabledModules.erase(iter);
31  return true;
32 
33 } // bool SiPixelDisabledModules::removeDisabledModule(disabledModuleType module)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
disabledModuleListType theDisabledModules
void SiPixelDisabledModules::setDisabledModuleList ( disabledModuleListType  disabledModules)
inline

Definition at line 34 of file SiPixelDisabledModules.h.

References theDisabledModules.

35  { theDisabledModules = disabledModules; }
disabledModuleListType theDisabledModules

Member Data Documentation

disabledModuleListType SiPixelDisabledModules::theDisabledModules
private