30 cout <<
"DTConfigTrivialProducer::DTConfigTrivialProducer()" << endl;
47 cout <<
"DTConfigTrivialProducer::~DTConfigTrivialProducer()" << endl;
54 std::unique_ptr<DTConfigManager>
58 cout <<
"DTConfigTrivialProducer::produce()" << endl;
65 std::unique_ptr<DTConfigManager> dtConfig =
66 std::unique_ptr<DTConfigManager>(
m_manager);
74 cout <<
"DTConfigTrivialProducer::buildManager()" << endl;
95 for (
int iwh = -2; iwh <= 2; ++iwh) {
96 for (
int ist = 1; ist <= 4; ++ist) {
97 for (
int ise = 1; ise <= 12; ++ise) {
99 vector<int> nmap = conf_map.getUntrackedParameter<vector<int>>(
103 std::cout <<
" Filling configuration for chamber : wh " 105 <<
", se " << chambid.
sector() << endl;
109 for (
int isl = 1; isl <= 3; isl++) {
110 int ncell = nmap[isl - 1];
112 for (
int ibti = 0; ibti < ncell; ibti++) {
115 std::cout <<
"Filling BTI config for chamber : wh " 117 <<
", se " << chambid.
sector() <<
"... sl " << isl
118 <<
", bti " << ibti + 1 << endl;
123 int ntraco = nmap[3];
125 for (
int itraco = 0; itraco < ntraco; itraco++) {
129 std::cout <<
"Filling TRACO config for chamber : wh " 131 <<
", se " << chambid.
sector() <<
", traco " << itraco + 1
148 for (
int iwh = -2; iwh <= 2; ++iwh) {
149 for (
int ise = 13; ise <= 14; ++ise) {
152 vector<int> nmap = conf_map.getUntrackedParameter<vector<int>>(
156 std::cout <<
" Filling configuration for chamber : wh " 157 << chambid.
wheel() <<
", st " << chambid.
station() <<
", se " 158 << chambid.
sector() << endl;
162 for (
int isl = 1; isl <= 3; isl++) {
163 int ncell = nmap[isl - 1];
165 for (
int ibti = 0; ibti < ncell; ibti++) {
168 std::cout <<
"Filling BTI config for chamber : wh " 170 <<
", se " << chambid.
sector() <<
"... sl " << isl
171 <<
", bti " << ibti + 1 << endl;
176 int ntraco = nmap[3];
178 for (
int itraco = 0; itraco < ntraco; itraco++) {
181 std::cout <<
"Filling TRACO config for chamber : wh " 183 <<
", se " << chambid.
sector() <<
", traco " << itraco + 1
200 for (
int wh = -2; wh <= 2; wh++)
201 for (
int se = 1; se <= 12; se++)
214 cout <<
"DTConfigTrivialProducer::buildPedestals()" << endl;
217 for (
int iwh = -2; iwh <= 2; ++iwh) {
218 for (
int ist = 1; ist <= 4; ++ist) {
219 for (
int ise = 1; ise <= 14; ++ise) {
220 if (ise > 12 && ist != 4)
238 int iwh = chambid.
wheel();
239 std::ostringstream os;
void setLutFromDB(bool lutFromDB)
Set lut from DB flag.
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
T getUntrackedParameter(std::string const &, T const &) const
void setDTTPGDebug(bool debug)
SetGlobalDebug flag.
void setDTConfigTSTheta(DTChamberId chambid, DTConfigTSTheta conf)
Set DTConfigTSTheta for desired chip.
void buildManager()
Build Config Manager.
void setUseAcceptParam(bool acceptparam)
Set the use of Bti acceptance parameters (LL,LH,CL,CH,RL,RH)
int set(int wheelId, int stationId, int sectorId, int nc, float ph, DTTimeUnits::type unit)
void setES(DTTPGParameters const *tpgParams, DTT0 const *t0Params=nullptr)
Set parameters from ES.
std::string mapEntryName(const DTChamberId &chambid) const
DTTPGParameters * m_tpgParams
void setDTConfigTraco(DTTracoId, DTConfigTraco)
Set DTConfigTraco for desired chip.
DTConfigPedestals buildTrivialPedestals()
Build Config Pedestals.
~DTConfigTrivialProducer() override
destructor
DTConfigManager * m_manager
void setDTConfigBti(DTBtiId, DTConfigBti)
Set DTConfigBti for desired chip.
void setDTConfigTSPhi(DTChamberId chambid, DTConfigTSPhi conf)
Set DTConfigTSPhi for desired chip.
void setUseT0(bool useT0)
Set t0i subtraction.
DTConfigTrivialProducer(const edm::ParameterSet &)
Constructor.
void setDTConfigLUTs(DTChamberId chambid, DTConfigLUTs conf)
Set DTConfigLUTs for desired chamber.
void setDTConfigPedestals(DTConfigPedestals pedestals)
Set DTConfigPedestals configuration.
void setDTConfigSectColl(DTSectCollId sectcollid, DTConfigSectColl conf)
Set DTConfigSectColl for desired chip.
std::unique_ptr< DTConfigManager > produce(const DTConfigManagerRcd &)
ES produce method.
int station() const
Return the station number.
void setDTConfigTrigUnit(DTChamberId chambid, DTConfigTrigUnit conf)
Set DTConfigTrigUnit for desired chamber.
int wheel() const
Return the wheel number.