CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
11 
12 //----------------------------------------------------------------------------------------------------
13 
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 }
void buildRecoHits(const edm::DetSet< TotemRPCluster > &input, edm::DetSet< TotemRPRecHit > &output)
static std::string const input
Definition: EdmProvDump.cc:47
decltype(auto) emplace_back(Args &&...args)
Definition: DetSet.h:68
double GetHitPositionInReadoutDirection(double strip_no) const
Definition: RPTopology.h:31