CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
9 
10 
15 
17 
19 
20 
21 // Build all hits in the range associated to the layerId, at the 1st step.
23 const ME0DigiPreRecoCollection::Range& digiRange){
25 
26  for (ME0DigiPreRecoCollection::const_iterator digi = digiRange.first;
27  digi != digiRange.second;digi++) {
28 
29  LocalError tmpErr;
31  // Call the compute method
32  bool OK = this->compute(*digi, point, tmpErr);
33  if (!OK) continue;
34  ME0RecHit* recHit = new ME0RecHit(me0Id,digi->tof(),point,tmpErr);
35  result.push_back(recHit);
36  }
37  return result;
38 }
ME0RecHitBaseAlgo(const edm::ParameterSet &config)
Constructor.
tuple result
Definition: mps_fire.py:95
void push_back(D *&d)
Definition: OwnVector.h:290
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:136
std::vector< ME0DigiPreReco >::const_iterator const_iterator
virtual bool compute(const ME0DigiPreReco &digi, LocalPoint &Point, LocalError &error) const =0
standard local recHit computation
std::pair< const_iterator, const_iterator > Range
*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