CMS 3D CMS Logo

List of all members | Public Member Functions
ME0RecHitBaseAlgo Class Referenceabstract

#include <ME0RecHitBaseAlgo.h>

Inheritance diagram for ME0RecHitBaseAlgo:
ME0RecHitStandardAlgo

Public Member Functions

virtual bool compute (const ME0DigiPreReco &digi, LocalPoint &Point, LocalError &error) const =0
 standard local recHit computation More...
 
 ME0RecHitBaseAlgo (const edm::ParameterSet &config)
 Constructor. More...
 
virtual edm::OwnVector< ME0RecHitreconstruct (const ME0DetId &me0Id, const ME0DigiPreRecoCollection::Range &digiRange)
 Build all hits in the range associated to the me0Id, at the 1st step. More...
 
virtual void setES (const edm::EventSetup &setup)=0
 Pass the Event Setup to the algo at each event. More...
 
virtual ~ME0RecHitBaseAlgo ()
 Destructor. More...
 

Detailed Description

Abstract algorithmic class to compute Rec Hit form a ME0 digi

Date
2014/02/04 10:16:32
Revision
1.1
Author
M. Maggi – INFN Bari

Definition at line 27 of file ME0RecHitBaseAlgo.h.

Constructor & Destructor Documentation

◆ ME0RecHitBaseAlgo()

ME0RecHitBaseAlgo::ME0RecHitBaseAlgo ( const edm::ParameterSet config)

Constructor.

Definition at line 14 of file ME0RecHitBaseAlgo.cc.

14 {}

◆ ~ME0RecHitBaseAlgo()

ME0RecHitBaseAlgo::~ME0RecHitBaseAlgo ( )
virtual

Destructor.

Definition at line 16 of file ME0RecHitBaseAlgo.cc.

16 {}

Member Function Documentation

◆ compute()

virtual bool ME0RecHitBaseAlgo::compute ( const ME0DigiPreReco digi,
LocalPoint Point,
LocalError error 
) const
pure virtual

standard local recHit computation

Implemented in ME0RecHitStandardAlgo.

Referenced by reconstruct().

◆ reconstruct()

edm::OwnVector< ME0RecHit > ME0RecHitBaseAlgo::reconstruct ( const ME0DetId me0Id,
const ME0DigiPreRecoCollection::Range digiRange 
)
virtual

Build all hits in the range associated to the me0Id, at the 1st step.

Definition at line 19 of file ME0RecHitBaseAlgo.cc.

20  {
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 }

References compute(), point, rpcPointValidation_cfi::recHit, and mps_fire::result.

◆ setES()

virtual void ME0RecHitBaseAlgo::setES ( const edm::EventSetup setup)
pure virtual

Pass the Event Setup to the algo at each event.

Implemented in ME0RecHitStandardAlgo.

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
Point3DBase< float, LocalTag >
ME0RecHitBaseAlgo::compute
virtual bool compute(const ME0DigiPreReco &digi, LocalPoint &Point, LocalError &error) const =0
standard local recHit computation
LocalError
Definition: LocalError.h:12
ME0RecHit
Definition: ME0RecHit.h:16
mps_fire.result
result
Definition: mps_fire.py:311
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