CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimpleCosmicBONSeeder.h
Go to the documentation of this file.
1 #ifndef SimpleCosmicBONSeeder_h
2 #define SimpleCosmicBONSeeder_h
3 
13 
19 
24 
30 
38 
40 
42 {
43  public:
44 
46 
48 
49  virtual void produce(edm::Event& e, const edm::EventSetup& c) override;
50 
51  void init(const edm::EventSetup& c);
52  bool triplets(const edm::Event &e , const edm::EventSetup& c);
54  void done();
55 
56  bool goodTriplet(const GlobalPoint &inner, const GlobalPoint & middle, const GlobalPoint & outer, const double & minRho) const ;
57 
58  std::pair<GlobalVector,int>
59  pqFromHelixFit(const GlobalPoint &inner, const GlobalPoint & middle, const GlobalPoint & outer, const edm::EventSetup& iSetup) const ;
60 
61  private:
64 
67  double pMin_;
69 
71  double rescaleError_;
72 
74 
78  TkClonerImpl cloner; // FIXME
82 
83 
86 
88 
89  int goodHitsPerSeed_; // number of hits that must be good
90  bool checkCharge_; // check cluster charge
92  std::vector<int32_t> chargeThresholds_;
94  std::vector<int32_t> maxHitsPerModule_;
95  bool checkCharge(const TrackingRecHit *hit) const ;
96  bool checkCharge(const SiStripRecHit2D &hit, int subdetid) const ;
97  void checkNoisyModules(const std::vector<SeedingHitSet::ConstRecHitPointer> &hits, std::vector<bool> &oks) const ;
98 
99  //***top-bottom
102  //***
103 };
104 
105 #endif
GlobalTrackingRegion region_
bool triplets(const edm::Event &e, const edm::EventSetup &c)
void init(const edm::EventSetup &c)
OrderedHitTriplets hitTriplets
bool checkCharge(const TrackingRecHit *hit) const
SimpleCosmicBONSeeder(const edm::ParameterSet &conf)
edm::ESHandle< TrackerGeometry > tracker
std::pair< GlobalVector, int > pqFromHelixFit(const GlobalPoint &inner, const GlobalPoint &middle, const GlobalPoint &outer, const edm::EventSetup &iSetup) const
std::vector< TrajectorySeed > TrajectorySeedCollection
PropagatorWithMaterial * thePropagatorOp
edm::ESHandle< MagneticField > magfield
edm::ESHandle< TransientTrackingRecHitBuilder > TTTRHBuilder
edm::EDGetTokenT< SeedingLayerSetsHits > seedingLayerToken_
tuple conf
Definition: dbtoconf.py:185
PropagatorWithMaterial * thePropagatorAl
bool seeds(TrajectorySeedCollection &output, const edm::EventSetup &iSetup)
bool goodTriplet(const GlobalPoint &inner, const GlobalPoint &middle, const GlobalPoint &outer, const double &minRho) const
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
std::vector< int32_t > chargeThresholds_
void checkNoisyModules(const std::vector< SeedingHitSet::ConstRecHitPointer > &hits, std::vector< bool > &oks) const
std::vector< int32_t > maxHitsPerModule_