RecoPPS
Local
src
TotemRPRecHitProducerAlgorithm.cc
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* This is a part of TOTEM offline software.
4
* Authors:
5
* Hubert Niewiadomski
6
* Jan Kašpar (jan.kaspar@gmail.com)
7
*
8
****************************************************************************/
9
10
#include "
RecoPPS/Local/interface/TotemRPRecHitProducerAlgorithm.h
"
11
12
//----------------------------------------------------------------------------------------------------
13
14
void
TotemRPRecHitProducerAlgorithm::buildRecoHits
(
const
edm::DetSet<TotemRPCluster>
&
input
,
15
edm::DetSet<TotemRPRecHit>
&
output
) {
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
}
input
static const std::string input
Definition:
EdmProvDump.cc:48
edm::DetSet
Definition:
DetSet.h:23
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:72
TotemRPRecHitProducerAlgorithm.h
RPTopology::GetHitPositionInReadoutDirection
double GetHitPositionInReadoutDirection(double strip_no) const
Definition:
RPTopology.h:36
TotemRPRecHitProducerAlgorithm::buildRecoHits
void buildRecoHits(const edm::DetSet< TotemRPCluster > &input, edm::DetSet< TotemRPRecHit > &output)
Definition:
TotemRPRecHitProducerAlgorithm.cc:13
TotemRPRecHitProducerAlgorithm::rp_topology_
RPTopology rp_topology_
Definition:
TotemRPRecHitProducerAlgorithm.h:33
Generated for CMSSW Reference Manual by
1.8.16