|
|
#include <TrackTransformerForGlobalCosmicMuons.h>
◆ TrackTransformerForGlobalCosmicMuons()
TrackTransformerForGlobalCosmicMuons::TrackTransformerForGlobalCosmicMuons |
( |
const edm::ParameterSet & |
parameterSet | ) |
|
◆ ~TrackTransformerForGlobalCosmicMuons()
TrackTransformerForGlobalCosmicMuons::~TrackTransformerForGlobalCosmicMuons |
( |
| ) |
|
|
override |
◆ fitter()
◆ getTransientRecHits()
Definition at line 103 of file TrackTransformerForGlobalCosmicMuons.cc.
109 if ((*hit)->isValid()) {
112 }
else if ((*hit)->geographicalId().det() ==
DetId::Muon &&
MuonKeep((*hit)->geographicalId())) {
113 if ((*hit)->geographicalId().subdetId() == 3 && !
theRPCInTheFit) {
114 LogTrace(
"Reco|TrackingTools|TrackTransformer") <<
"RPC Rec Hit discarged";
133 copy(staHits.begin(), staHits.end(), back_inserter(tkHits));
135 for (TransientTrackingRecHit::ConstRecHitContainer::const_iterator
hit = tkHits.begin();
hit != tkHits.end(); ++
hit) {
136 DetId hitId = (*hit)->geographicalId();
153 LogTrace(
"TrackFitters") <<
" UNKNOWN TRACKER HIT TYPE ";
162 LogTrace(
"TrackFitters") <<
" UNKNOWN MUON HIT TYPE ";
164 LogTrace(
"TrackFitters") <<
" UNKNOWN HIT TYPE ";
References filterCSVwithJSON::copy, MuonSubdetId::CSC, DetId::det(), MuonSubdetId::DT, createfilelist::int, LogTrace, DetId::Muon, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, MuonSubdetId::RPC, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, HLT_FULL_cff::track, and DetId::Tracker.
◆ magneticField()
const MagneticField* TrackTransformerForGlobalCosmicMuons::magneticField |
( |
| ) |
const |
|
inline |
◆ MuonKeep()
bool TrackTransformerForGlobalCosmicMuons::MuonKeep |
( |
DetId |
id | ) |
const |
check (via options) if this is a muon rec hit for removal
Definition at line 268 of file TrackTransformerForGlobalCosmicMuons.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, GeomDetEnumerators::isCSC(), GeomDetEnumerators::isDT(), GeomDetEnumerators::isRPC(), DetId::Muon, MuonSubdetId::RPC, DTChamberId::station(), relativeConstraints::station, RPCDetId::station(), CSCDetId::station(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
◆ propagator()
◆ setServices()
void TrackTransformerForGlobalCosmicMuons::setServices |
( |
const edm::EventSetup & |
setup | ) |
|
|
overridevirtual |
◆ smoother()
◆ TrackerKeep()
bool TrackTransformerForGlobalCosmicMuons::TrackerKeep |
( |
DetId |
id | ) |
const |
◆ trackingGeometry()
◆ transform()
Convert a reco::Track into Trajectory.
Convert Tracks into Trajectories.
Implements TrackTransformerBase.
Definition at line 194 of file TrackTransformerForGlobalCosmicMuons.cc.
202 if (recHitsForReFit.size() < 2)
203 return vector<Trajectory>();
205 bool up = recHitsForReFit.back()->globalPosition().y() > 0 ?
true :
false;
210 unsigned int innerId =
up ?
track.track().outerDetId() :
track.track().innerDetId();
212 LogTrace(
metname) <<
"Prop Dir: " << propagationDirection <<
" FirstId " << innerId <<
" firstTSOS " << firstTSOS;
216 if (recHitsForReFit.front()->geographicalId() !=
DetId(innerId)) {
219 LogTrace(
metname) <<
"Final destination: " << recHitsForReFit.front()->det()->surface().position() << endl;
220 if (!firstTSOS.isValid()) {
222 return vector<Trajectory>();
230 return vector<Trajectory>();
237 if (trajectoriesSM.empty()) {
239 return vector<Trajectory>();
242 return trajectoriesSM;
References alongMomentum, LogTrace, HLT_FULL_cff::magneticField, metname, oppositeToMomentum, TrackCandidateProducer_cfi::propagator, fileCollector::seed, AlCaHLTBitMon_QueryRunRegistry::string, HLT_FULL_cff::track, FastTrackerRecHitMaskProducer_cfi::trajectories, funct::true, and up.
◆ theCacheId_GTG
unsigned long long TrackTransformerForGlobalCosmicMuons::theCacheId_GTG |
|
private |
◆ theCacheId_MG
unsigned long long TrackTransformerForGlobalCosmicMuons::theCacheId_MG |
|
private |
◆ theCacheId_TC
unsigned long long TrackTransformerForGlobalCosmicMuons::theCacheId_TC |
|
private |
◆ theCacheId_TRH
unsigned long long TrackTransformerForGlobalCosmicMuons::theCacheId_TRH |
|
private |
◆ theFitterIO
◆ theFitterOI
◆ theMGField
◆ theMuonRecHitBuilder
◆ theMuonRecHitBuilderName
std::string TrackTransformerForGlobalCosmicMuons::theMuonRecHitBuilderName |
|
private |
◆ thePropagatorIO
◆ thePropagatorOI
◆ theRPCInTheFit
bool TrackTransformerForGlobalCosmicMuons::theRPCInTheFit |
|
private |
◆ theSkipStationCSC
int TrackTransformerForGlobalCosmicMuons::theSkipStationCSC |
|
private |
◆ theSkipStationDT
int TrackTransformerForGlobalCosmicMuons::theSkipStationDT |
|
private |
◆ theSkipWheelDT
int TrackTransformerForGlobalCosmicMuons::theSkipWheelDT |
|
private |
◆ theSmootherIO
◆ theSmootherOI
◆ theTrackerRecHitBuilder
◆ theTrackerRecHitBuilderName
std::string TrackTransformerForGlobalCosmicMuons::theTrackerRecHitBuilderName |
|
private |
◆ theTrackerSkipSection
int TrackTransformerForGlobalCosmicMuons::theTrackerSkipSection |
|
private |
◆ theTrackerSkipSystem
int TrackTransformerForGlobalCosmicMuons::theTrackerSkipSystem |
|
private |
◆ theTrackingGeometry
◆ tTopo_
const Surface::PositionType & position() const
The position (origin of the R.F.)
T const * product() const
bool isRPC(GeomDetEnumerators::SubDetector m)
constexpr Detector det() const
get the detector field from this detid
unsigned int layer(const DetId &id) const
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
unsigned int tidWheel(const DetId &id) const
virtual TrajectoryContainer trajectories(const Trajectory &traj) const
unsigned int pxbLayer(const DetId &id) const
static constexpr auto TIB
bool isCSC(GeomDetEnumerators::SubDetector m)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
std::vector< ConstRecHitPointer > ConstRecHitContainer
unsigned int pxfDisk(const DetId &id) const
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
std::vector< Trajectory > fit(const Trajectory &traj, fitType type=standard) const
unsigned int tobLayer(const DetId &id) const
static constexpr auto TEC
const GeomDet * idToDet(DetId) const override
ParameterSet const & parameterSet(Provenance const &provenance, ProcessHistory const &history)
static constexpr auto TOB
T getParameter(std::string const &) const
unsigned int tecWheel(const DetId &id) const
bool isDT(GeomDetEnumerators::SubDetector m)
static constexpr auto TID
const std::string metname
unsigned int tibLayer(const DetId &id) const