/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoLocalMuon/RPCRecHit/plugins/RPCRecHitBaseAlgo.h
65 строк
2 KB
Christopher Jones
Replace forward references with includes of Fwd.h files
18 фев 2026, 17:29
18 фев 2026, 17:29
bb39da7
Код
Авторство
О чём код?
#ifndef RecoLocalMuon_RPCRecHitBaseAlgo_H #define RecoLocalMuon_RPCRecHitBaseAlgo_H /** \class RPCRecHitBaseAlgo * Abstract algorithmic class to compute Rec Hit * form a RPC digi * * \author M. Maggi -- INFN Bari */ #include "DataFormats/GeometryVector/interface/LocalPoint.h" #include "DataFormats/GeometrySurface/interface/LocalError.h" #include "DataFormats/GeometryVector/interface/GlobalPoint.h" #include "DataFormats/RPCDigi/interface/RPCDigiCollection.h" #include "DataFormats/RPCRecHit/interface/RPCRecHit.h" #include "DataFormats/MuonDetId/interface/RPCDetIdFwd.h" #include "DataFormats/Common/interface/OwnVector.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "RPCRollMask.h" class RPCCluster; class RPCRoll; namespace edm { class EventSetup; } class RPCRecHitBaseAlgo { public: /// Constructor RPCRecHitBaseAlgo(const edm::ParameterSet& config); /// Destructor virtual ~RPCRecHitBaseAlgo() {} /// Pass the Event Setup to the algo at each event virtual void setES(const edm::EventSetup& setup) = 0; /// Build all hits in the range associated to the rpcId, at the 1st step. virtual edm::OwnVector<RPCRecHit> reconstruct(const RPCRoll& roll, const RPCDetId& rpcId, const RPCDigiCollection::Range& digiRange, const RollMask& mask); /// standard local recHit computation virtual bool compute(const RPCRoll& roll, const RPCCluster& cl, LocalPoint& Point, LocalError& error, float& time, float& timeErr) const = 0; /// local recHit computation accounting for track direction and /// absolute position virtual bool compute(const RPCRoll& roll, const RPCCluster& cl, const float& angle, const GlobalPoint& globPos, LocalPoint& Point, LocalError& error, float& time, float& timeErr) const = 0; }; #endif