CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
TotemRPRecHitProducerAlgorithm Class Reference

#include <TotemRPRecHitProducerAlgorithm.h>

Public Member Functions

void buildRecoHits (const edm::DetSet< TotemRPCluster > &input, edm::DetSet< TotemRPRecHit > &output)
 
 TotemRPRecHitProducerAlgorithm (const edm::ParameterSet &conf)
 

Private Attributes

RPTopology rp_topology_
 

Detailed Description

Definition at line 21 of file TotemRPRecHitProducerAlgorithm.h.

Constructor & Destructor Documentation

◆ TotemRPRecHitProducerAlgorithm()

TotemRPRecHitProducerAlgorithm::TotemRPRecHitProducerAlgorithm ( const edm::ParameterSet conf)
inline

Definition at line 23 of file TotemRPRecHitProducerAlgorithm.h.

23 {}

Member Function Documentation

◆ buildRecoHits()

void TotemRPRecHitProducerAlgorithm::buildRecoHits ( const edm::DetSet< TotemRPCluster > &  input,
edm::DetSet< TotemRPRecHit > &  output 
)

Definition at line 14 of file TotemRPRecHitProducerAlgorithm.cc.

References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), RPTopology::GetHitPositionInReadoutDirection(), input, and rp_topology_.

Referenced by TotemRPRecHitProducer::produce().

15  {
16  for (const auto& clus : input) {
17  constexpr double nominal_sigma = 0.0191;
18  output.emplace_back(rp_topology_.GetHitPositionInReadoutDirection(clus.centerStripPosition()), nominal_sigma);
19  }
20 }
static std::string const input
Definition: EdmProvDump.cc:50
Definition: output.py:1
double GetHitPositionInReadoutDirection(double strip_no) const
Definition: RPTopology.h:31

Member Data Documentation

◆ rp_topology_

RPTopology TotemRPRecHitProducerAlgorithm::rp_topology_
private

Definition at line 28 of file TotemRPRecHitProducerAlgorithm.h.

Referenced by buildRecoHits().