#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 (disabledModuleListType disabledModules) | |
SiPixelDisabledModules () | |
virtual | ~SiPixelDisabledModules () |
Private Attributes | |
disabledModuleListType | theDisabledModules |
Definition at line 16 of file SiPixelDisabledModules.h.
typedef std::vector<disabledModuleType> SiPixelDisabledModules::disabledModuleListType |
Definition at line 20 of file SiPixelDisabledModules.h.
Definition at line 19 of file SiPixelDisabledModules.h.
SiPixelDisabledModules::SiPixelDisabledModules | ( | ) | [inline] |
Definition at line 22 of file SiPixelDisabledModules.h.
{;}
SiPixelDisabledModules::SiPixelDisabledModules | ( | disabledModuleListType | disabledModules | ) | [inline] |
Definition at line 25 of file SiPixelDisabledModules.h.
: theDisabledModules(disabledModules) {;}
virtual SiPixelDisabledModules::~SiPixelDisabledModules | ( | ) | [inline, virtual] |
Definition at line 27 of file SiPixelDisabledModules.h.
{;}
void SiPixelDisabledModules::addDisabledModule | ( | disabledModuleType | module | ) | [inline] |
Definition at line 38 of file SiPixelDisabledModules.h.
References theDisabledModules.
{ theDisabledModules.push_back(module); }
void SiPixelDisabledModules::addDisabledModule | ( | disabledModuleListType | idVector | ) |
Definition at line 13 of file SiPixelDisabledModules.cc.
References theDisabledModules.
{ theDisabledModules.insert(theDisabledModules.end(), idVector.begin(), idVector.end()); } // void SiPixelDisabledModules::addDisabledModule(disabledModuleListType idVector)
disabledModuleListType SiPixelDisabledModules::getDisabledModuleList | ( | ) | [inline] |
Definition at line 30 of file SiPixelDisabledModules.h.
References theDisabledModules.
{ return theDisabledModules; }
bool SiPixelDisabledModules::isModuleDisabled | ( | disabledModuleType | module | ) |
Definition at line 38 of file SiPixelDisabledModules.cc.
References spr::find(), module(), and theDisabledModules.
{ disabledModuleListType::const_iterator iter = find(theDisabledModules.begin(), theDisabledModules.end(), module); return iter != theDisabledModules.end(); } // bool SiPixelDisabledModules::isModuleDisabled(disabledModuleType module)
bool SiPixelDisabledModules::removeDisabledModule | ( | disabledModuleType | module | ) |
Definition at line 23 of file SiPixelDisabledModules.cc.
References spr::find(), module(), and theDisabledModules.
{ disabledModuleListType::iterator iter = find(theDisabledModules.begin(), theDisabledModules.end(), module); if (iter == theDisabledModules.end()) return false; theDisabledModules.erase(iter); return true; } // bool SiPixelDisabledModules::removeDisabledModule(disabledModuleType module)
void SiPixelDisabledModules::setDisabledModuleList | ( | disabledModuleListType | disabledModules | ) | [inline] |
Definition at line 34 of file SiPixelDisabledModules.h.
References theDisabledModules.
{ theDisabledModules = disabledModules; }
Definition at line 53 of file SiPixelDisabledModules.h.
Referenced by addDisabledModule(), getDisabledModuleList(), isModuleDisabled(), removeDisabledModule(), and setDisabledModuleList().