12 : rawInfoProducerToken_(consumes(ps.getParameter<
std::
string>(
"rawInfoProducer"))),
13 rawInfoCollection_(ps.getParameter<
std::
string>(
"rawInfoCollection")),
14 recInfoCollection_(ps.getParameter<
std::
string>(
"recInfoCollection")),
15 fitMethod_(ps.getParameter<
int>(
"fitMethod")),
17 ps.getParameter<
std::
vector<double> >(
"planeShift"),
18 ps.getParameter<
std::
vector<double> >(
"zPosition")) {
38 if (ecalRawHodoscope.
isValid()) {
39 ecalHodoRawInfo = ecalRawHodoscope.
product();
42 if (!ecalHodoRawInfo) {
47 if ((*ecalHodoRawInfo).planes() != 4) {
EcalTBHodoscopeRecInfoProducer(const edm::ParameterSet &ps)
EcalTBHodoscopeRecInfoAlgo algo_
void produce(edm::StreamID, edm::Event &e, const edm::EventSetup &es) const override
EcalTBHodoscopeRecInfo reconstruct(const EcalTBHodoscopeRawInfo &hodoscopeRawInfo) const
T const * product() const
Log< level::Error, false > LogError
edm::EDGetTokenT< EcalTBHodoscopeRawInfo > rawInfoProducerToken_
std::string rawInfoCollection_
std::string recInfoCollection_