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 }
reco::OK
std::pair< int, edm::FunctionWithDict > OK
Definition: findMethod.cc:126
rpcPointValidation_cfi.recHit
recHit
Definition: rpcPointValidation_cfi.py:7
MuonDigiCollection::const_iterator
std::vector< DigiType >::const_iterator const_iterator
Definition: MuonDigiCollection.h:94
ME0RecHitBaseAlgo.h
config
Definition: config.py:1
ME0RecHitBaseAlgo::reconstruct
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.
Definition: ME0RecHitBaseAlgo.cc:19
Point3DBase< float, LocalTag >
edm::ParameterSet
Definition: ParameterSet.h:47
ME0RecHitBaseAlgo::compute
virtual bool compute(const ME0DigiPreReco &digi, LocalPoint &Point, LocalError &error) const =0
standard local recHit computation
LocalError
Definition: LocalError.h:12
ME0DetId
Definition: ME0DetId.h:16
ME0RecHitBaseAlgo::~ME0RecHitBaseAlgo
virtual ~ME0RecHitBaseAlgo()
Destructor.
Definition: ME0RecHitBaseAlgo.cc:16
ME0DigiPreRecoCollection.h
ME0RecHit
Definition: ME0RecHit.h:16
ME0EtaPartition.h
MuonDigiCollection::Range
std::pair< const_iterator, const_iterator > Range
Definition: MuonDigiCollection.h:95
ME0RecHitBaseAlgo::ME0RecHitBaseAlgo
ME0RecHitBaseAlgo(const edm::ParameterSet &config)
Constructor.
Definition: ME0RecHitBaseAlgo.cc:14
mps_fire.result
result
Definition: mps_fire.py:311
ParameterSet.h
point
*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
edm::OwnVector
Definition: OwnVector.h:24