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 (edm::DetSet<TotemRPCluster>::const_iterator it = input.begin(); it != input.end(); ++it) {
17  constexpr double nominal_sigma = 0.0191;
18  output.push_back(
19  TotemRPRecHit(rp_topology_.GetHitPositionInReadoutDirection(it->centerStripPosition()), nominal_sigma));
20  }

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().

TotemRPRecHit
Reconstructed hit in TOTEM RP.
Definition: TotemRPRecHit.h:17
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
edm::DetSet::const_iterator
collection_type::const_iterator const_iterator
Definition: DetSet.h:31