34 for (
int i=1;
i<4;
i++)
36 for (
int i=1;
i<5;
i++)
60 if (istat<1 || istat>4){
61 throw cms::Exception(
"DTTPG") <<
"DTConfigSectColl::setSCCarryFlag: station number out of range: istat=" << istat << std::endl;
70 if (istat<1 || istat>5){
71 throw cms::Exception(
"DTTPG") <<
"DTConfigSectColl::setCoarseSync: station number out of range: istat=" << istat << std::endl;
73 if (sccsp<0 || sccsp>7){
74 throw cms::Exception(
"DTTPG") <<
"DTConfigSectColl::setCoarseSync: wrong SCCSP"<< istat <<
" value!" << std::endl;
123 std::cout <<
"******************************************************************************" << std::endl;
124 std::cout <<
"* DTTrigger configuration : SectorCollector chips *" << std::endl;
125 std::cout <<
"******************************************************************************" << std::endl << std::endl;
136 std::cout <<
"******************************************************************************" << std::endl;
void setSCCarryFlag(bool scecf, int istat)
Set carry in Sector Collector for station istat (1 means enabled, 0 disabled)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void print() const
Print the setup.
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()
Destructor.
DTConfigSectColl()
Constructor.
void setCoarseSync(int sccsp, int istat)
Return coarsesync parameter in Sector Collector for station istat (5 is second MB4 station) ...
void setDefaults(const edm::ParameterSet &ps)
Load pset values into class variables.