|
|
Go to the documentation of this file.
26 std::cout << x << std::endl; \
54 produces<MTDTrackingDetSetVector>();
55 mtdgeoToken_ = esConsumes<MTDGeometry, MTDDigiGeometryRecord>();
64 descriptions.
add(
"mtdTrackingRecHitProducer",
desc);
80 auto outputhits = std::make_unique<MTDTrackingDetSetVector>();
81 auto& theoutputhits = *outputhits;
83 run(inputBarrel, theoutputhits);
84 run(inputEndcap, theoutputhits);
98 for (; DSViter !=
input.end(); DSViter++) {
99 unsigned int detid = DSViter->detId();
100 DetId detIdObject(detid);
102 if (genericDet ==
nullptr) {
104 <<
"GeographicalID: " << std::hex << detid <<
" is invalid!" <<
std::dec << std::endl;
111 for (; clustIt != clustEnd; clustIt++) {
112 DEBUG(
"Cluster: size " << clustIt->
size() <<
" " << clustIt->x() <<
"," << clustIt->y() <<
" "
113 << clustIt->energy() <<
" " << clustIt->time());
122 DEBUG(
"MTD_TRH: " <<
hit.localPosition().
x() <<
"," <<
hit.localPosition().
y() <<
" : "
123 <<
hit.localPositionError().xx() <<
"," <<
hit.localPositionError().yy() <<
" : " <<
hit.time()
124 <<
" : " <<
hit.timeError());
edm::ESGetToken< MTDClusterParameterEstimator, MTDCPERecord > cpeToken_
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)
edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > mtdgeoToken_
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_
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
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