CMS 3D CMS Logo

ME0PreRecoNoSmearModel.cc
Go to the documentation of this file.
2 
3 #include <cmath>
4 #include <utility>
5 #include <map>
6 
8 
11  CLHEP::HepRandomEngine* engine) {
12  for (const auto& hit : simHits) {
13  if (std::abs(hit.particleType()) != 13)
14  continue;
15  const auto& entry = hit.entryPoint();
16  float x = entry.x();
17  float y = entry.y();
18  float ex = 0.001;
19  float ey = 0.001;
20  float corr = 0.;
21  float t = hit.timeOfFlight();
22  int pdgid = hit.particleType();
23  digi_.emplace(x, y, ex, ey, corr, t, pdgid, 1);
24  }
25 }
26 
27 void ME0PreRecoNoSmearModel::simulateNoise(const ME0EtaPartition* roll, CLHEP::HepRandomEngine* engine) {}
Definition: config.py:1
void simulateNoise(const ME0EtaPartition *, CLHEP::HepRandomEngine *) override
std::set< ME0DigiPreReco > digi_
dictionary corr
ME0PreRecoNoSmearModel(const edm::ParameterSet &)
void simulateSignal(const ME0EtaPartition *, const edm::PSimHitContainer &, CLHEP::HepRandomEngine *) override
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
std::vector< PSimHit > PSimHitContainer