|
|
Go to the documentation of this file.
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);
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());
121 DEBUG(
"MTD_TRH: " <<
hit.localPosition().
x() <<
"," <<
hit.localPosition().
y() <<
" : "
122 <<
hit.localPositionError().xx() <<
"," <<
hit.localPositionError().yy() <<
" : " <<
hit.time()
123 <<
" : " <<
hit.timeError());
T const * product() const
const MTDGeometry * geom_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
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