33 for (
int i = 1;
i < 4;
i++)
35 for (
int i = 1;
i < 5;
i++)
55 if (istat < 1 || istat > 4) {
56 throw cms::Exception(
"DTTPG") <<
"DTConfigSectColl::setSCCarryFlag: station number out of range: istat=" << istat
63 if (istat < 1 || istat > 5) {
64 throw cms::Exception(
"DTTPG") <<
"DTConfigSectColl::setCoarseSync: station number out of range: istat=" << istat
67 if (sccsp < 0 || sccsp > 7) {
68 throw cms::Exception(
"DTTPG") <<
"DTConfigSectColl::setCoarseSync: wrong SCCSP" << istat <<
" value!" << std::endl;
111 std::cout <<
"******************************************************************************" << std::endl;
112 std::cout <<
"* DTTrigger configuration : SectorCollector chips *" << std::endl;
113 std::cout <<
"******************************************************************************" << std::endl
125 std::cout <<
"******************************************************************************" << std::endl;
void setSCCarryFlag(bool scecf, int istat)
Set carry in Sector Collector for station istat (1 means enabled, 0 disabled)
T getUntrackedParameter(std::string const &, T const &) const
void print() const
Print the setup.
~DTConfigSectColl() override
Destructor.
bool debug() const
Return the debug flag.
bool SCGetCarryFlag(int istat) const
Return carry in Sector Collector for station istat (1 means enabled, 0 disabled)
int CoarseSync(int istat) const
Return coarsesync parameter in Sector Collector for station istat (5 is second MB4 station) ...
DTConfigSectColl()
Constructor.
void setCoarseSync(int sccsp, int istat)
Return coarsesync parameter in Sector Collector for station istat (5 is second MB4 station) ...
T getParameter(std::string const &) const
void setDefaults(const edm::ParameterSet &ps)
Load pset values into class variables.