Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-10-17 22:59:00

0001 #ifndef RecoTracker_MkFitCMS_interface_MkStdSeqs_h
0002 #define RecoTracker_MkFitCMS_interface_MkStdSeqs_h
0003 
0004 #include "RecoTracker/MkFitCore/interface/Config.h"
0005 #include "RecoTracker/MkFitCore/interface/Hit.h"
0006 #include "RecoTracker/MkFitCore/interface/Track.h"
0007 #include "RecoTracker/MkFitCore/interface/DeadRegion.h"
0008 #include "RecoTracker/MkFitCore/interface/TrackerInfo.h"
0009 
0010 namespace mkfit {
0011 
0012   class EventOfHits;
0013   class IterationConfig;
0014   class TrackerInfo;
0015   class MkJob;
0016   class TrackCand;
0017 
0018   namespace StdSeq {
0019 
0020     void loadDeads(EventOfHits &eoh, const std::vector<DeadVec> &deadvectors);
0021 
0022     void cmssw_LoadHits_Begin(EventOfHits &eoh, const std::vector<const HitVec *> &orig_hitvectors);
0023     void cmssw_LoadHits_End(EventOfHits &eoh);
0024 
0025     // Not used anymore. Left here if we want to experiment again with
0026     // COPY_SORTED_HITS in class LayerOfHits.
0027     void cmssw_Map_TrackHitIndices(const EventOfHits &eoh, TrackVec &seeds);
0028     void cmssw_ReMap_TrackHitIndices(const EventOfHits &eoh, TrackVec &out_tracks);
0029 
0030     int clean_cms_seedtracks_iter(TrackVec &seeds, const IterationConfig &itrcfg, const BeamSpot &bspot);
0031 
0032     void remove_duplicates(TrackVec &tracks);
0033 
0034     void clean_duplicates(TrackVec &tracks, const IterationConfig &itconf);
0035     void clean_duplicates_sharedhits(TrackVec &tracks, const IterationConfig &itconf);
0036     void clean_duplicates_sharedhits_pixelseed(TrackVec &tracks, const IterationConfig &itconf);
0037 
0038     // Quality filters used directly (not through IterationConfig)
0039 
0040     template <class TRACK>
0041     bool qfilter_nan_n_silly(const TRACK &t, const MkJob &) {
0042       return !(t.hasNanNSillyValues());
0043     }
0044 
0045   }  // namespace StdSeq
0046 
0047 }  // namespace mkfit
0048 
0049 #endif