20 reco_(conf.getParameter<int>(
"firstSample"),conf.getParameter<int>(
"samplesToAdd"),conf.getParameter<bool>(
"correctForTimeslew"),
21 conf.getParameter<bool>(
"correctForPhaseContainment"),conf.getParameter<double>(
"correctionPhaseNS")),
23 inputLabel_(conf.getParameter<edm::InputTag>(
"digiLabel"))
25 std::string subd=conf.
getParameter<std::string>(
"Subdetector");
26 if (!strcasecmp(subd.c_str(),
"CASTOR")) {
29 produces<CastorRecHitCollection>();
31 edm::LogWarning(
"CastorSimpleReconstructor") <<
"CastorSimpleReconstructor is not associated with CASTOR subdetector!" << std::endl;
62 for (i=digi->begin(); i!=digi->end(); i++) {
69 const CastorQIECoder* channelCoder = conditions->getCastorCoder (cell);
T getParameter(std::string const &) const
std::vector< T >::const_iterator const_iterator
virtual void produce(edm::Event &e, const edm::EventSetup &c)
CastorSimpleReconstructor(const edm::ParameterSet &ps)
CastorRecHit reconstruct(const CastorDataFrame &digi, const CastorCoder &coder, const CastorCalibrations &calibs) const
edm::InputTag inputLabel_
CastorSimpleRecAlgo reco_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
static const int SubdetectorId
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual ~CastorSimpleReconstructor()