|
|
Go to the documentation of this file.
26 std::cout << x << std::endl; \
52 produces<MTDTrackingDetSetVector>();
60 descriptions.
add(
"mtdTrackingRecHitProducer",
desc);
78 auto outputhits = std::make_unique<MTDTrackingDetSetVector>();
79 auto& theoutputhits = *outputhits;
81 run(inputBarrel, theoutputhits);
82 run(inputEndcap, theoutputhits);
96 for (; DSViter !=
input.end(); DSViter++) {
97 unsigned int detid = DSViter->detId();
98 DetId detIdObject(detid);
100 if (genericDet ==
nullptr) {
102 <<
"GeographicalID: " << std::hex << detid <<
" is invalid!" <<
std::dec << std::endl;
109 for (; clustIt != clustEnd; clustIt++) {
110 DEBUG(
"Cluster: size " << clustIt->
size() <<
" " << clustIt->x() <<
"," << clustIt->y() <<
" "
111 << clustIt->energy() <<
" " << clustIt->time());
120 DEBUG(
"MTD_TRH: " <<
hit.localPosition().
x() <<
"," <<
hit.localPosition().
y() <<
" : "
121 <<
hit.localPositionError().xx() <<
"," <<
hit.localPositionError().yy() <<
" : " <<
hit.time()
122 <<
" : " <<
hit.timeError());
T const * product() const
const MTDGeometry * geom_
static const std::string input
std::tuple< LocalPoint, LocalError, TimeValue, TimeValueError > ReturnType
~MTDTrackingRecHitProducer() override=default
const edm::EDGetTokenT< FTLClusterCollection > ftleClusters_
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)
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
const_iterator begin(bool update=false) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void push_back(data_type const &d)
const MTDGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void produce(edm::Event &evt, const edm::EventSetup &es) override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
A 2D TrackerRecHit with time and time error information.
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const edm::EDGetTokenT< FTLClusterCollection > ftlbClusters_
const MTDClusterParameterEstimator * cpe_
virtual ReturnType getParameters(const FTLCluster &cl, const GeomDetUnit &det) const =0
const_iterator end(bool update=false) const
void run(edm::Handle< edmNew::DetSetVector< FTLCluster > > inputHandle, MTDTrackingDetSetVector &output)
MTDTrackingRecHitProducer(const edm::ParameterSet &ps)
const data_type * const_iterator