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
18 //RecoTracker
26 //#include "RecoTracker/SpecialSeedGenerators/interface/GenericPairOrTripletGenerator.h"
27 //#include "RecoTracker/SpecialSeedGenerators/interface/SeedCleaner.h"
28 //MagneticField
30 //TrackingTools
34 //Geometry
36 
37 #include <map>
38 
40 {
41  public:
43 
44 
46 
47  virtual ~CtfSpecialSeedGenerator();//{};
48 
49  virtual void beginRun(edm::Run &, edm::EventSetup const&);
50  virtual void endRun(edm::Run &, edm::EventSetup const&);
51 
52  virtual void produce(edm::Event& e, const edm::EventSetup& c);
53 
54  private:
55 
56  bool run(const edm::EventSetup& c,
57  const edm::Event& e,
59 
60  bool buildSeeds(const edm::EventSetup& iSetup,
61  const edm::Event& e,
62  const OrderedSeedingHits& osh,
63  const NavigationDirection& navdir,
66  //checks that the hits used are at positive y and are on different layers
67  bool preliminaryCheck(const SeedingHitSet& shs);
68  //We can check if the seed points in a region covered by scintillators. To be used only in noB case
69  //because it uses StraightLinePropagation
70  bool postCheck(const TrajectorySeed& seed);
71 
72  private:
77  //edm::ESHandle<SeedCleaner> theCleaner;
78  //OrderedHitsGenerator* hitsGeneratorOutIn;
79  //OrderedHitsGenerator* hitsGeneratorInOut;
80  //PropagationDirection inOutPropagationDirection;
81  //PropagationDirection outInPropagationDirection;
82  //GenericPairOrTripletGenerator* hitsGeneratorOutIn;
83  //GenericPairOrTripletGenerator* hitsGeneratorInOut;
84  std::vector<OrderedHitsGenerator*> theGenerators;
85  std::vector<PropagationDirection> thePropDirs;
86  std::vector<NavigationDirection> theNavDirs;
88  //TrajectoryStateTransform theTransformer;
94  int32_t theMaxSeeds;
95 };
96 #endif
97 
98 
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:33