30 cout <<
"DTConfigTrivialProducer::DTConfigTrivialProducer()" << endl;
48 cout <<
"DTConfigTrivialProducer::~DTConfigTrivialProducer()" << endl;
62 cout <<
"DTConfigTrivialProducer::produce()" << endl;
64 using namespace edm::es;
69 std::auto_ptr<DTConfigManager> dtConfig = std::auto_ptr<DTConfigManager>(
m_manager );
79 cout <<
"DTConfigTrivialProducer::buildManager()" << endl;
93 for (
int iwh=-2;iwh<=2;++iwh){
94 for (
int ist=1;ist<=4;++ist){
95 for (
int ise=1;ise<=12;++ise){
97 vector<int> nmap = conf_map.getUntrackedParameter<vector<int> >(
mapEntryName(chambid).c_str());
101 std::cout <<
" Filling configuration for chamber : wh " << chambid.
wheel() <<
102 ", st " << chambid.
station() <<
103 ", se " << chambid.
sector() << endl;
107 for (
int isl=1;isl<=3;isl++){
108 int ncell = nmap[isl-1];
110 for (
int ibti=0;ibti<ncell;ibti++)
114 std::cout <<
"Filling BTI config for chamber : wh " << chambid.
wheel() <<
115 ", st " << chambid.
station() <<
116 ", se " << chambid.
sector() <<
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 " << chambid.
wheel() <<
130 ", st " << chambid.
station() <<
131 ", se " << chambid.
sector() <<
132 ", traco " << itraco+1 << endl;
147 for (
int iwh=-2;iwh<=2;++iwh){
148 for (
int ise=13;ise<=14;++ise){
151 vector<int> nmap = conf_map.getUntrackedParameter<vector<int> >(
mapEntryName(chambid).c_str());
155 std::cout <<
" Filling configuration for chamber : wh " << chambid.
wheel() <<
156 ", st " << chambid.
station() <<
157 ", se " << chambid.
sector() << endl;
161 for (
int isl=1;isl<=3;isl++){
162 int ncell = nmap[isl-1];
164 for (
int ibti=0;ibti<ncell;ibti++)
168 std::cout <<
"Filling BTI config for chamber : wh " << chambid.
wheel() <<
169 ", st " << chambid.
station() <<
170 ", se " << chambid.
sector() <<
172 ", bti " << ibti+1 << endl;
177 int ntraco = nmap[3];
179 for (
int itraco=0;itraco<ntraco;itraco++)
183 std::cout <<
"Filling TRACO config for chamber : wh " << chambid.
wheel() <<
184 ", st " << chambid.
station() <<
185 ", se " << chambid.
sector() <<
186 ", traco " << itraco+1 << endl;
201 for (
int wh=-2;wh<=2;wh++)
202 for (
int se=1;se<=12;se++)
217 cout <<
"DTConfigTrivialProducer::buildPedestals()" << endl;
220 for (
int iwh=-2;iwh<=2;++iwh){
221 for (
int ist=1;ist<=4;++ist){
222 for (
int ise=1;ise<=14;++ise){
223 if (ise>12 && ist!=4)
continue;
242 int iwh = chambid.
wheel();
243 std::ostringstream os;
void setLutFromDB(bool lutFromDB)
Set lut from DB flag.
T getParameter(std::string const &) const
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)
std::string mapEntryName(const DTChamberId &chambid) const
~DTConfigTrivialProducer()
destructor
DTTPGParameters * m_tpgParams
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
void setDTConfigTraco(DTTracoId, DTConfigTraco)
Set DTConfigTraco for desired chip.
DTConfigPedestals buildTrivialPedestals()
Build Config Pedestals.
DTConfigManager * m_manager
void setES(DTTPGParameters const *tpgParams, DTT0 const *t0Params=0)
Set parameters from ES.
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::auto_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.