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
(
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
}
21
}
TotemRPRecHit
Reconstructed hit in TOTEM RP.
Definition:
TotemRPRecHit.h:17
input
static const std::string input
Definition:
EdmProvDump.cc:48
edm::DetSet
Definition:
DetSet.h:23
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:32
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
edm::DetSet::const_iterator
collection_type::const_iterator const_iterator
Definition:
DetSet.h:31
Generated for CMSSW Reference Manual by
1.8.16