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 20 of file TotemRPRecHitProducerAlgorithm.h.

Constructor & Destructor Documentation

◆ TotemRPRecHitProducerAlgorithm()

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

Definition at line 28 of file TotemRPRecHitProducerAlgorithm.h.

Member Function Documentation

◆ buildRecoHits()

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

Definition at line 13 of file TotemRPRecHitProducerAlgorithm.cc.

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  }

References RPTopology::GetHitPositionInReadoutDirection(), input, convertSQLitetoXML_cfg::output, and rp_topology_.

Referenced by TotemRPRecHitProducer::produce().

Member Data Documentation

◆ rp_topology_

RPTopology TotemRPRecHitProducerAlgorithm::rp_topology_
private

Definition at line 33 of file TotemRPRecHitProducerAlgorithm.h.

Referenced by buildRecoHits().

input
static const std::string input
Definition: EdmProvDump.cc:48
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
RPTopology::GetHitPositionInReadoutDirection
double GetHitPositionInReadoutDirection(double strip_no) const
Definition: RPTopology.h:36
TotemRPRecHitProducerAlgorithm::rp_topology_
RPTopology rp_topology_
Definition: TotemRPRecHitProducerAlgorithm.h:33