/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CalibFormats/SiPixelObjects/interface/PixelTrimCommon.h
57 строк
2 KB
Cms Build
Clang-Format
20 май 2019, 13:01
20 май 2019, 13:01
125ebea
Код
Авторство
О чём код?
#ifndef PixelTrimACommon_h #define PixelTrimACommon_h /** * \file CalibFormats/SiPixelObjects/interface/PixelTrimCommon.h * \brief This class implements.. * * A longer explanation will be placed here later * */ #include <string> #include <vector> #include "CalibFormats/SiPixelObjects/interface/PixelTrimBase.h" #include "CalibFormats/SiPixelObjects/interface/PixelMaskBase.h" #include "CalibFormats/SiPixelObjects/interface/PixelROCTrimBits.h" #include "CalibFormats/SiPixelObjects/interface/PixelNameTranslation.h" namespace pos { /*! \ingroup TrimObjects "Trim Objects" * \ingroup ConfigurationObjects "Configuration Objects" * * @{ * * \class PixelTrimCommon PixelTrimCommon.h * \brief This class implements.. * * A longer explanation will be placed here later * */ class PixelTrimCommon : public PixelTrimBase { public: PixelTrimCommon(std::string filename); //Build the commands needed to configure ROCs //on control link void generateConfiguration(PixelFECConfigInterface* pixelFEC, PixelNameTranslation* trans, const PixelMaskBase& pixelMask) const override; void writeBinary(std::string filename) const override; void writeASCII(std::string filename) const override; void writeXML(pos::PixelConfigKey key, int version, std::string path) const override { ; } using PixelTrimBase::writeXML; using PixelTrimBase::writeXMLHeader; using PixelTrimBase::writeXMLTrailer; void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream* out) const override { ; } void writeXML(std::ofstream* out) const override { ; } void writeXMLTrailer(std::ofstream* out) const override { ; } private: std::vector<PixelROCName> rocname_; std::vector<unsigned int> trimbits_; }; } // namespace pos #endif