test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 {
17  for (edm::DetSet<TotemRPCluster>::const_iterator it = input.begin(); it!=input.end(); ++it)
18  {
19  constexpr double nominal_sigma = 0.0191;
20  output.push_back(TotemRPRecHit(rp_topology_.GetHitPositionInReadoutDirection(it->getCenterStripPosition()), nominal_sigma));
21  }
22 }
iterator end()
Definition: DetSet.h:60
void push_back(const T &t)
Definition: DetSet.h:68
void buildRecoHits(const edm::DetSet< TotemRPCluster > &input, edm::DetSet< TotemRPRecHit > &output)
#define constexpr
static std::string const input
Definition: EdmProvDump.cc:44
Reconstructed hit in TOTEM RP.
Definition: TotemRPRecHit.h:18
iterator begin()
Definition: DetSet.h:59
collection_type::const_iterator const_iterator
Definition: DetSet.h:33
double GetHitPositionInReadoutDirection(double strip_no) const
Definition: RPTopology.h:41