CMS 3D CMS Logo

CtfSpecialSeedGenerator.h
Go to the documentation of this file.
1 #ifndef CtfSpecialSeedGenerator_H
2 #define CtfSpecialSeedGenerator_H
3 
8 //FWK
14 //DataFormats
18 //RecoTracker
26 //#include "RecoTracker/SpecialSeedGenerators/interface/GenericPairOrTripletGenerator.h"
27 //#include "RecoTracker/SpecialSeedGenerators/interface/SeedCleaner.h"
28 //MagneticField
30 //TrackingTools
34 //Geometry
37 
38 #include <map>
39 
41 public:
43 
45 
46  ~CtfSpecialSeedGenerator() override; //{};
47 
48  void beginRun(edm::Run const&, edm::EventSetup const&) override;
49  void endRun(edm::Run const&, edm::EventSetup const&) override;
50 
51  void produce(edm::Event& e, const edm::EventSetup& c) override;
52 
53 private:
55 
56  bool buildSeeds(const edm::EventSetup& iSetup,
57  const edm::Event& e,
58  const OrderedSeedingHits& osh,
59  const NavigationDirection& navdir,
62  //checks that the hits used are at positive y and are on different layers
63  bool preliminaryCheck(const SeedingHitSet& shs, const edm::EventSetup& es);
64  //We can check if the seed points in a region covered by scintillators. To be used only in noB case
65  //because it uses StraightLinePropagation
66  bool postCheck(const TrajectorySeed& seed);
67 
68 private:
73  //edm::ESHandle<SeedCleaner> theCleaner;
74  //OrderedHitsGenerator* hitsGeneratorOutIn;
75  //OrderedHitsGenerator* hitsGeneratorInOut;
76  //PropagationDirection inOutPropagationDirection;
77  //PropagationDirection outInPropagationDirection;
78  //GenericPairOrTripletGenerator* hitsGeneratorOutIn;
79  //GenericPairOrTripletGenerator* hitsGeneratorInOut;
80  std::vector<std::unique_ptr<OrderedHitsGenerator> > theGenerators;
81  std::vector<PropagationDirection> thePropDirs;
82  std::vector<NavigationDirection> theNavDirs;
83  std::unique_ptr<TrackingRegionProducer> theRegionProducer;
84  //TrajectoryStateTransform theTransformer;
85  std::unique_ptr<SeedFromGenericPairOrTriplet> theSeedBuilder;
90  int32_t theMaxSeeds;
92 };
93 #endif
CtfSpecialSeedGenerator::check
ClusterChecker check
Definition: CtfSpecialSeedGenerator.h:91
Handle.h
CtfSpecialSeedGenerator::theGenerators
std::vector< std::unique_ptr< OrderedHitsGenerator > > theGenerators
Definition: CtfSpecialSeedGenerator.h:80
TrackerGeometry.h
TrajectorySeedCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
Definition: TrajectorySeedCollection.h:6
ESHandle.h
SeedingHitSet
Definition: SeedingHitSet.h:6
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
edm::Run
Definition: Run.h:45
CtfSpecialSeedGenerator::TSOS
TrajectoryStateOnSurface TSOS
Definition: CtfSpecialSeedGenerator.h:42
CtfSpecialSeedGenerator::buildSeeds
bool buildSeeds(const edm::EventSetup &iSetup, const edm::Event &e, const OrderedSeedingHits &osh, const NavigationDirection &navdir, const PropagationDirection &dir, TrajectorySeedCollection &output)
Definition: CtfSpecialSeedGenerator.cc:157
CtfSpecialSeedGenerator::theSeedBuilder
std::unique_ptr< SeedFromGenericPairOrTriplet > theSeedBuilder
Definition: CtfSpecialSeedGenerator.h:85
CtfSpecialSeedGenerator::useScintillatorsConstraint
bool useScintillatorsConstraint
Definition: CtfSpecialSeedGenerator.h:86
EDProducer.h
CtfSpecialSeedGenerator::lowerScintillator
BoundPlane::BoundPlanePointer lowerScintillator
Definition: CtfSpecialSeedGenerator.h:88
CtfSpecialSeedGenerator::upperScintillator
BoundPlane::BoundPlanePointer upperScintillator
Definition: CtfSpecialSeedGenerator.h:87
ReferenceCountingPointer< Plane >
CkfComponentsRecord.h
CtfSpecialSeedGenerator::CtfSpecialSeedGenerator
CtfSpecialSeedGenerator(const edm::ParameterSet &conf)
Definition: CtfSpecialSeedGenerator.cc:18
ClusterChecker
Definition: ClusterChecker.h:30
TkTransientTrackingRecHitBuilder.h
TrackingRegionProducer.h
fileCollector.seed
seed
Definition: fileCollector.py:127
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
SeedingLayerSetsBuilder.h
SeedingHitSet.h
CtfSpecialSeedGenerator::run
bool run(const edm::EventSetup &c, const edm::Event &e, TrajectorySeedCollection &output)
Definition: CtfSpecialSeedGenerator.cc:136
OrderedSeedingHits
Definition: OrderedSeedingHits.h:7
edm::ESHandle< MagneticField >
CtfSpecialSeedGenerator::theMaxSeeds
int32_t theMaxSeeds
Definition: CtfSpecialSeedGenerator.h:90
SeedFromGenericPairOrTriplet.h
ClusterChecker.h
CtfSpecialSeedGenerator::postCheck
bool postCheck(const TrajectorySeed &seed)
Definition: CtfSpecialSeedGenerator.cc:242
edm::ParameterSet
Definition: ParameterSet.h:47
CtfSpecialSeedGenerator
Definition: CtfSpecialSeedGenerator.h:40
Event.h
edm::stream::EDProducer
Definition: EDProducer.h:36
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:58
TrajectorySeedCollection.h
CtfSpecialSeedGenerator::preliminaryCheck
bool preliminaryCheck(const SeedingHitSet &shs, const edm::EventSetup &es)
Definition: CtfSpecialSeedGenerator.cc:190
CtfSpecialSeedGenerator::theMagfield
edm::ESHandle< MagneticField > theMagfield
Definition: CtfSpecialSeedGenerator.h:70
CtfSpecialSeedGenerator::theNavDirs
std::vector< NavigationDirection > theNavDirs
Definition: CtfSpecialSeedGenerator.h:82
NavigationDirection
NavigationDirection
Definition: NavigationDirection.h:4
TrackingComponentsRecord.h
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
CtfSpecialSeedGenerator::~CtfSpecialSeedGenerator
~CtfSpecialSeedGenerator() override
CtfSpecialSeedGenerator::requireBOFF
bool requireBOFF
Definition: CtfSpecialSeedGenerator.h:89
CtfSpecialSeedGenerator::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: CtfSpecialSeedGenerator.cc:117
TrajectorySeed
Definition: TrajectorySeed.h:18
EventSetup.h
TrajectoryStateTransform.h
BoundPlane.h
ParameterSet.h
NavigationDirection.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition: Event.h:73
CtfSpecialSeedGenerator::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: CtfSpecialSeedGenerator.cc:47
CtfSpecialSeedGenerator::endRun
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: CtfSpecialSeedGenerator.cc:45
CtfSpecialSeedGenerator::theTracker
edm::ESHandle< TrackerGeometry > theTracker
Definition: CtfSpecialSeedGenerator.h:71
CtfSpecialSeedGenerator::conf_
edm::ParameterSet conf_
Definition: CtfSpecialSeedGenerator.h:69
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
CtfSpecialSeedGenerator::theBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theBuilder
Definition: CtfSpecialSeedGenerator.h:72
CtfSpecialSeedGenerator::theRegionProducer
std::unique_ptr< TrackingRegionProducer > theRegionProducer
Definition: CtfSpecialSeedGenerator.h:83
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
OrderedHitsGenerator.h
CtfSpecialSeedGenerator::thePropDirs
std::vector< PropagationDirection > thePropDirs
Definition: CtfSpecialSeedGenerator.h:81