CMS 3D CMS Logo

ME0RecHitBaseAlgo.cc
Go to the documentation of this file.
1 /*
2 * See header file for a description of this class.
3 *
4 * $Date: 2014/02/04 10:16:35 $
5 * $Revision: 1.1 $
6 * \author M. Maggi -- INFN Bari
7 */
8 
13 
15 
17 
18 // Build all hits in the range associated to the layerId, at the 1st step.
20  const ME0DigiPreRecoCollection::Range& digiRange) {
22 
23  for (ME0DigiPreRecoCollection::const_iterator digi = digiRange.first; digi != digiRange.second; digi++) {
24  LocalError tmpErr;
26  // Call the compute method
27  bool OK = this->compute(*digi, point, tmpErr);
28  if (!OK)
29  continue;
30  ME0RecHit* recHit = new ME0RecHit(me0Id, digi->tof(), point, tmpErr);
31  result.push_back(recHit);
32  }
33  return result;
34 }
ME0RecHitBaseAlgo(const edm::ParameterSet &config)
Constructor.
Definition: config.py:1
virtual ~ME0RecHitBaseAlgo()
Destructor.
virtual edm::OwnVector< ME0RecHit > reconstruct(const ME0DetId &me0Id, const ME0DigiPreRecoCollection::Range &digiRange)
Build all hits in the range associated to the me0Id, at the 1st step.
std::pair< int, edm::FunctionWithDict > OK
Definition: findMethod.cc:126
std::pair< const_iterator, const_iterator > Range
std::vector< DigiType >::const_iterator const_iterator
virtual bool compute(const ME0DigiPreReco &digi, LocalPoint &Point, LocalError &error) const =0
standard local recHit computation
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5