CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CtfSpecialSeedGenerator.h
Go to the documentation of this file.
1 #ifndef CtfSpecialSeedGenerator_H
2 #define CtfSpecialSeedGenerator_H
3 
8 //FWK
14 //DataFormats
19 //RecoTracker
27 //#include "RecoTracker/SpecialSeedGenerators/interface/GenericPairOrTripletGenerator.h"
28 //#include "RecoTracker/SpecialSeedGenerators/interface/SeedCleaner.h"
29 //MagneticField
31 //TrackingTools
35 //Geometry
37 
38 #include <map>
39 
41 {
42  public:
44 
45 
47 
48  virtual ~CtfSpecialSeedGenerator();//{};
49 
50  virtual void beginRun(edm::Run &, edm::EventSetup const&);
51  virtual void endRun(edm::Run &, edm::EventSetup const&);
52 
53  virtual void produce(edm::Event& e, const edm::EventSetup& c);
54 
55  private:
56 
57  bool run(const edm::EventSetup& c,
58  const edm::Event& e,
60 
61  bool buildSeeds(const edm::EventSetup& iSetup,
62  const edm::Event& e,
63  const OrderedSeedingHits& osh,
64  const NavigationDirection& navdir,
67  //checks that the hits used are at positive y and are on different layers
68  bool preliminaryCheck(const SeedingHitSet& shs);
69  //We can check if the seed points in a region covered by scintillators. To be used only in noB case
70  //because it uses StraightLinePropagation
71  bool postCheck(const TrajectorySeed& seed);
72 
73  private:
78  //edm::ESHandle<SeedCleaner> theCleaner;
79  //OrderedHitsGenerator* hitsGeneratorOutIn;
80  //OrderedHitsGenerator* hitsGeneratorInOut;
81  //PropagationDirection inOutPropagationDirection;
82  //PropagationDirection outInPropagationDirection;
83  //GenericPairOrTripletGenerator* hitsGeneratorOutIn;
84  //GenericPairOrTripletGenerator* hitsGeneratorInOut;
85  std::vector<OrderedHitsGenerator*> theGenerators;
86  std::vector<PropagationDirection> thePropDirs;
87  std::vector<NavigationDirection> theNavDirs;
89  //TrajectoryStateTransform theTransformer;
95  int32_t theMaxSeeds;
96 };
97 #endif
98 
99 
SeedFromGenericPairOrTriplet * theSeedBuilder
BoundPlane::BoundPlanePointer lowerScintillator
TrackingRegionProducer * theRegionProducer
bool run(const edm::EventSetup &c, const edm::Event &e, TrajectorySeedCollection &output)
virtual void produce(edm::Event &e, const edm::EventSetup &c)
PropagationDirection
bool buildSeeds(const edm::EventSetup &iSetup, const edm::Event &e, const OrderedSeedingHits &osh, const NavigationDirection &navdir, const PropagationDirection &dir, TrajectorySeedCollection &output)
TrajectoryStateOnSurface TSOS
CtfSpecialSeedGenerator(const edm::ParameterSet &conf)
virtual void beginRun(edm::Run &, edm::EventSetup const &)
BoundPlane::BoundPlanePointer upperScintillator
std::vector< TrajectorySeed > TrajectorySeedCollection
std::vector< OrderedHitsGenerator * > theGenerators
tuple conf
Definition: dbtoconf.py:185
virtual void endRun(edm::Run &, edm::EventSetup const &)
bool postCheck(const TrajectorySeed &seed)
edm::ESHandle< MagneticField > theMagfield
edm::ESHandle< TrackerGeometry > theTracker
edm::ESHandle< TransientTrackingRecHitBuilder > theBuilder
bool preliminaryCheck(const SeedingHitSet &shs)
dbl *** dir
Definition: mlp_gen.cc:35
std::vector< NavigationDirection > theNavDirs
std::vector< PropagationDirection > thePropDirs
Definition: Run.h:31