|
|
#include <DynamicTruncation.h>
|
bool | chooseLayers (int &, double const &, DTRecSegment4D const &, TrajectoryStateOnSurface const &, double const &, CSCSegment const &, TrajectoryStateOnSurface const &) |
|
void | compatibleDets (TrajectoryStateOnSurface &, std::map< int, std::vector< DetId >> &) |
|
void | correctThrByPAndEta (double &) |
|
void | fillDYTInfos (int const &, bool const &, int &, double const &, double const &, DTRecSegment4D const &, CSCSegment const &) |
|
void | fillSegmentMaps (std::map< int, std::vector< DetId >> &, std::map< int, std::vector< DTRecSegment4D >> &, std::map< int, std::vector< CSCSegment >> &) |
|
void | filteringAlgo () |
|
void | getThresholdFromCFG (double &, DetId const &) |
|
void | getThresholdFromDB (double &, DetId const &) |
|
void | preliminaryFit (std::map< int, std::vector< DetId >>, std::map< int, std::vector< DTRecSegment4D >>, std::map< int, std::vector< CSCSegment >>) |
|
void | setEtaRegion () |
|
void | sort (ConstRecHitContainer &) |
|
int | stationfromDet (DetId const &) |
|
void | testCSCstation (TrajectoryStateOnSurface &, std::vector< CSCSegment > const &, double &, CSCSegment &, TrajectoryStateOnSurface &) |
|
void | testDTstation (TrajectoryStateOnSurface &, std::vector< DTRecSegment4D > const &, double &, DTRecSegment4D &, TrajectoryStateOnSurface &) |
|
void | update (TrajectoryStateOnSurface &, ConstRecHitPointer) |
|
void | updateWithCSChits (TrajectoryStateOnSurface &, CSCSegment const &) |
|
void | updateWithDThits (TrajectoryStateOnSurface &, DTRecSegment4D const &) |
|
void | useSegment (CSCSegment const &, TrajectoryStateOnSurface const &) |
|
void | useSegment (DTRecSegment4D const &, TrajectoryStateOnSurface const &) |
|
Definition at line 47 of file DynamicTruncation.h.
◆ ConstRecHitContainer
◆ ConstRecHitPointer
◆ DynamicTruncation()
◆ ~DynamicTruncation()
DynamicTruncation::~DynamicTruncation |
( |
| ) |
|
◆ chooseLayers()
◆ compatibleDets()
◆ correctThrByPAndEta()
void DynamicTruncation::correctThrByPAndEta |
( |
double & |
thr | ) |
|
|
private |
◆ fillDYTInfos()
void DynamicTruncation::fillDYTInfos |
( |
int const & |
st, |
|
|
bool const & |
chosenLayer, |
|
|
int & |
incompConLay, |
|
|
double const & |
bestDTEstimator, |
|
|
double const & |
bestCSCEstimator, |
|
|
DTRecSegment4D const & |
bestDTSeg, |
|
|
CSCSegment const & |
bestCSCSeg |
|
) |
| |
|
private |
◆ fillSegmentMaps()
void DynamicTruncation::fillSegmentMaps |
( |
std::map< int, std::vector< DetId >> & |
, |
|
|
std::map< int, std::vector< DTRecSegment4D >> & |
, |
|
|
std::map< int, std::vector< CSCSegment >> & |
|
|
) |
| |
|
private |
◆ filter()
◆ filteringAlgo()
void DynamicTruncation::filteringAlgo |
( |
| ) |
|
|
private |
Definition at line 192 of file DynamicTruncation.cc.
193 map<int, vector<DetId> > compatibleIds;
194 map<int, vector<DTRecSegment4D> > dtSegMap;
195 map<int, vector<CSCSegment> > cscSegMap;
196 int incompConLay = 0;
210 for (
map<
int, vector<DetId> >::iterator it = compatibleIds.begin(); it != compatibleIds.end(); ++it) {
214 double bestDTEstimator =
MAX_THR;
215 double bestCSCEstimator =
MAX_THR;
216 vector<DTRecSegment4D> dtSegs = dtSegMap[it->first];
217 vector<CSCSegment> cscSegs = cscSegMap[it->first];
229 chooseLayers(incompConLay, bestDTEstimator, bestDTSeg, tsosDTlayer, bestCSCEstimator, bestCSCSeg, tsosCSClayer);
230 fillDYTInfos(stLayer, chosenLayer, incompConLay, bestDTEstimator, bestCSCEstimator, bestDTSeg, bestCSCSeg);
References genParticles_cff::map, and MAX_THR.
◆ getDYTInfo()
◆ getThresholdFromCFG()
void DynamicTruncation::getThresholdFromCFG |
( |
double & |
thr, |
|
|
DetId const & |
id |
|
) |
| |
|
private |
◆ getThresholdFromDB()
void DynamicTruncation::getThresholdFromDB |
( |
double & |
thr, |
|
|
DetId const & |
id |
|
) |
| |
|
private |
◆ preliminaryFit()
void DynamicTruncation::preliminaryFit |
( |
std::map< int, std::vector< DetId >> |
, |
|
|
std::map< int, std::vector< DTRecSegment4D >> |
, |
|
|
std::map< int, std::vector< CSCSegment >> |
|
|
) |
| |
|
private |
◆ setEtaRegion()
void DynamicTruncation::setEtaRegion |
( |
| ) |
|
|
private |
◆ setParThrsMode()
void DynamicTruncation::setParThrsMode |
( |
bool |
dytParThrsMode | ) |
|
|
inline |
◆ setProd()
◆ setRecoEta()
void DynamicTruncation::setRecoEta |
( |
double |
eta | ) |
|
|
inline |
◆ setRecoP()
void DynamicTruncation::setRecoP |
( |
double |
p | ) |
|
|
inline |
◆ setSelector()
void DynamicTruncation::setSelector |
( |
int |
selector | ) |
|
◆ setThr()
void DynamicTruncation::setThr |
( |
const std::vector< int > & |
thr | ) |
|
◆ setThrsMap()
◆ setUpdateState()
void DynamicTruncation::setUpdateState |
( |
bool |
upState | ) |
|
◆ setUseAPE()
void DynamicTruncation::setUseAPE |
( |
bool |
useAPE_ | ) |
|
◆ sort()
◆ stationfromDet()
int DynamicTruncation::stationfromDet |
( |
DetId const & |
det | ) |
|
|
private |
◆ testCSCstation()
◆ testDTstation()
◆ update()
◆ updateWithCSChits()
◆ updateWithDThits()
◆ useSegment() [1/2]
◆ useSegment() [2/2]
◆ cscApeMap
◆ cscGeom
◆ currentState
◆ doUpdateOfKFStates
bool DynamicTruncation::doUpdateOfKFStates |
|
private |
◆ dtApeMap
◆ dytInfo
◆ DYTselector
int DynamicTruncation::DYTselector |
|
private |
◆ dytThresholds
◆ estimatorMap
std::map<int, double> DynamicTruncation::estimatorMap |
|
private |
◆ eta_reco
double DynamicTruncation::eta_reco |
|
private |
◆ getSegs
◆ idChamberMap
std::map<int, DetId> DynamicTruncation::idChamberMap |
|
private |
◆ magfield
◆ muonETAest
double DynamicTruncation::muonETAest |
|
private |
◆ muonPTest
double DynamicTruncation::muonPTest |
|
private |
◆ navigation
◆ navMuon
◆ nStationsUsed
int DynamicTruncation::nStationsUsed |
|
private |
◆ p_reco
double DynamicTruncation::p_reco |
|
private |
◆ parameters
◆ prelFitMeas
◆ prelFitState
◆ propagator
◆ propagatorCompatibleDet
◆ propagatorPF
◆ region
◆ result
◆ theG
◆ theMuonRecHitBuilder
◆ thrManager
◆ Thrs
std::vector<int> DynamicTruncation::Thrs |
|
private |
◆ updatorHandle
◆ useAPE
bool DynamicTruncation::useAPE |
|
private |
◆ useDBforThr
bool DynamicTruncation::useDBforThr |
|
private |
◆ usedStationMap
std::map<int, bool> DynamicTruncation::usedStationMap |
|
private |
◆ useParametrizedThr
bool DynamicTruncation::useParametrizedThr |
|
private |
bool chooseLayers(int &, double const &, DTRecSegment4D const &, TrajectoryStateOnSurface const &, double const &, CSCSegment const &, TrajectoryStateOnSurface const &)
TrajectoryStateOnSurface currentState
DirectMuonNavigation * navigation
dyt_utils::etaRegion region
void getThresholdFromDB(double &, DetId const &)
std::map< CSCDetId, GlobalError > cscApeMap
const std::map< CSCDetId, GlobalError > & GetCSCApeMap()
edm::ESHandle< CSCGeometry > cscGeom
void getThresholdFromCFG(double &, DetId const &)
GlobalPoint globalPosition() const
void swap(Association< C > &lhs, Association< C > &rhs)
virtual DTChamberId chamberId() const
The (specific) DetId of the chamber on which the segment resides.
ThrParameters * thrManager
static const std::map< etaRegion, std::string > etaRegionStr
void testDTstation(TrajectoryStateOnSurface &, std::vector< DTRecSegment4D > const &, double &, DTRecSegment4D &, TrajectoryStateOnSurface &)
void sort(ConstRecHitContainer &)
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
edm::ESHandle< Propagator > propagatorCompatibleDet
const std::map< DTChamberId, GlobalError > & GetDTApeMap()
ConstRecHitContainer result
std::map< int, DetId > idChamberMap
void updateWithCSChits(TrajectoryStateOnSurface &, CSCSegment const &)
const Plane & surface() const
The nominal surface of the GeomDet.
std::map< int, bool > usedStationMap
FreeTrajectoryState const * freeState(bool withErrors=true) const
void useSegment(DTRecSegment4D const &, TrajectoryStateOnSurface const &)
TrajectoryStateOnSurface const & forwardPredictedState() const
Access to forward predicted state (from fitter or builder)
std::vector< DTRecSegment4D > getDTSegmentsInChamber(DTChamberId)
TrajectoryStateOnSurface prelFitState
void compatibleDets(TrajectoryStateOnSurface &, std::map< int, std::vector< DetId >> &)
edm::ESHandle< MuonDetLayerGeometry > navMuon
void setIdChambers(const std::map< int, DetId > &IdChambersMap)
void preliminaryFit(std::map< int, std::vector< DetId >>, std::map< int, std::vector< DTRecSegment4D >>, std::map< int, std::vector< CSCSegment >>)
virtual TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TrackingRecHit &) const =0
void setUsedStations(const std::map< int, bool > &ustMap)
ChamberSegmentUtility * getSegs
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
void correctThrByPAndEta(double &)
void testCSCstation(TrajectoryStateOnSurface &, std::vector< CSCSegment > const &, double &, CSCSegment &, TrajectoryStateOnSurface &)
std::vector< const DetLayer * > compatibleLayers(const FreeTrajectoryState &fts, PropagationDirection timeDirection) const
void fillSegmentMaps(std::map< int, std::vector< DetId >> &, std::map< int, std::vector< DTRecSegment4D >> &, std::map< int, std::vector< CSCSegment >> &)
void update(TrajectoryStateOnSurface &, ConstRecHitPointer)
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
std::vector< DytThrStruct > thrsVec
std::vector< CSCSegment > getCSCSegmentsInChamber(CSCDetId)
const bool isValidThdDB()
DataContainer const & measurements() const
edm::ESHandle< TrajectoryStateUpdator > updatorHandle
ConstRecHitContainer prelFitMeas
int stationfromDet(DetId const &)
void fillDYTInfos(int const &, bool const &, int &, double const &, double const &, DTRecSegment4D const &, CSCSegment const &)
ConstRecHitPointer const & recHit() const
T getParameter(std::string const &) const
GlobalVector globalMomentum() const
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
std::map< DTChamberId, GlobalError > dtApeMap
const CSCLayer * layer(CSCDetId id) const
Return the layer corresponding to given DetId.
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
const DYTThrObject * getInitialThresholds()
const GeomDet * idToDet(DetId) const override
const DYTThrObject * dytThresholds
void setDYTEstimators(const std::map< int, double > &dytEstMap)
CSCDetId cscDetId() const
void updateWithDThits(TrajectoryStateOnSurface &, DTRecSegment4D const &)
edm::ESHandle< MagneticField > magfield
Power< A, B >::type pow(const A &a, const B &b)
void initCSU(const edm::Handle< DTRecSegment4DCollection > &, const edm::Handle< CSCSegmentCollection > &)
Abs< T >::type abs(const T &t)
std::map< int, double > estimatorMap
edm::ESHandle< GlobalTrackingGeometry > theG
edm::ESHandle< Propagator > propagatorPF
void setNStUsed(int NStUsed)
edm::ESHandle< Propagator > propagator