27 std::cout << x << std::endl; \ 53 produces<MTDTrackingDetSetVector>();
61 descriptions.
add(
"mtdTrackingRecHitProducer", desc);
79 auto outputhits = std::make_unique<MTDTrackingDetSetVector>();
80 auto& theoutputhits = *outputhits;
82 run(inputBarrel, theoutputhits);
83 run(inputEndcap, theoutputhits);
96 DEBUG(
"inputCollection " << input.
size());
97 for (; DSViter != input.
end(); DSViter++) {
98 unsigned int detid = DSViter->detId();
99 DetId detIdObject(detid);
101 if (genericDet ==
nullptr) {
103 <<
"GeographicalID: " << std::hex << detid <<
" is invalid!" <<
std::dec << std::endl;
110 for (; clustIt != clustEnd; clustIt++) {
111 DEBUG(
"Cluster: size " << clustIt->
size() <<
" " << clustIt->x() <<
"," << clustIt->y() <<
" " 112 << clustIt->energy() <<
" " << clustIt->time());
128 DEBUG(
"outputCollection " << output.
size());
edm::Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(const HandleT &iHandle, typename HandleT::element_type::value_type::const_iterator itIter)
void push_back(data_type const &d)
const_iterator end(bool update=false) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
LocalError localPositionError() const final
const edm::EDGetTokenT< FTLClusterCollection > ftlbClusters_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const edm::EDGetTokenT< FTLClusterCollection > ftleClusters_
~MTDTrackingRecHitProducer() override=default
data_type const * const_iterator
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static std::string const input
#define DEFINE_FWK_MODULE(type)
const MTDClusterParameterEstimator * cpe_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
MTDTrackingRecHitProducer(const edm::ParameterSet &ps)
virtual ReturnType getParameters(const FTLCluster &cl, const GeomDetUnit &det) const =0
A 2D TrackerRecHit with time and time error information.
const MTDGeometry * geom_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void run(edm::Handle< edmNew::DetSetVector< FTLCluster > > inputHandle, MTDTrackingDetSetVector &output)
LocalPoint localPosition() const final
std::tuple< LocalPoint, LocalError, TimeValue, TimeValueError > ReturnType
T const * product() const
void produce(edm::Event &evt, const edm::EventSetup &es) override
const_iterator begin(bool update=false) const
const MTDGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.