◆ VectorHitBuilderEDProducer()
VectorHitBuilderEDProducer::VectorHitBuilderEDProducer |
( |
const edm::ParameterSet & |
conf | ) |
|
|
explicit |
◆ ~VectorHitBuilderEDProducer()
VectorHitBuilderEDProducer::~VectorHitBuilderEDProducer |
( |
| ) |
|
|
overridedefault |
◆ algo()
◆ fillDescriptions()
◆ produce()
Definition at line 50 of file VectorHitBuilderEDProducer.cc.
51 LogDebug(
"VectorHitBuilderEDProducer") <<
"VectorHitBuilderEDProducer::produce() begin";
56 auto outputClustersAccepted = std::make_unique<edmNew::DetSetVector<Phase2TrackerCluster1D>>();
57 auto outputClustersRejected = std::make_unique<edmNew::DetSetVector<Phase2TrackerCluster1D>>();
69 run(clustersHandle, *outputClustersAccepted, *outputClustersRejected, *outputVHAccepted, *outputVHRejected);
71 unsigned int numberOfVectorHits = 0;
72 for (
const auto& dSViter : *outputVHAccepted) {
73 for (
const auto& vh : dSViter) {
75 LogDebug(
"VectorHitBuilderEDProducer") <<
"\t vectorhit in output " << vh;
78 LogDebug(
"VectorHitBuilderEDProducer") <<
"found\n" << numberOfVectorHits <<
" .\n";
81 event.put(
std::move(outputClustersAccepted),
"accepted");
82 event.put(
std::move(outputClustersRejected),
"rejected");
83 event.put(
std::move(outputVHAccepted),
"accepted");
84 event.put(
std::move(outputVHRejected),
"rejected");
References clusterProducer_, edm::EventSetup::getData(), LogDebug, eostools::move(), VectorHitBuilderAlgorithmBase::printClusters(), run(), stubsBuilder_, and stubsBuilderToken_.
◆ run()
◆ clusterProducer_
◆ maxOfflinestubs_
unsigned int VectorHitBuilderEDProducer::maxOfflinestubs_ |
|
private |
◆ offlinestubsTag_
std::string VectorHitBuilderEDProducer::offlinestubsTag_ |
|
private |
◆ stubsBuilder_
◆ stubsBuilderToken_
void run(edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D >> clusters, edmNew::DetSetVector< Phase2TrackerCluster1D > &clustersAcc, edmNew::DetSetVector< Phase2TrackerCluster1D > &clustersRej, VectorHitCollection &outputAcc, VectorHitCollection &outputRej)
void run(edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D >> clusters, VectorHitCollection &vhAcc, VectorHitCollection &vhRej, edmNew::DetSetVector< Phase2TrackerCluster1D > &clustersAcc, edmNew::DetSetVector< Phase2TrackerCluster1D > &clustersRej) const override