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 
12 
18 
23 
30 
37 
39 {
40  public:
41 
43 
45 
46  virtual void produce(edm::Event& e, const edm::EventSetup& c) override;
47 
48  void init(const edm::EventSetup& c);
49  bool triplets(const edm::Event &e , const edm::EventSetup& c);
51  void done();
52 
53  bool goodTriplet(const GlobalPoint &inner, const GlobalPoint & middle, const GlobalPoint & outer, const double & minRho) const ;
54 
55  std::pair<GlobalVector,int>
56  pqFromHelixFit(const GlobalPoint &inner, const GlobalPoint & middle, const GlobalPoint & outer, const edm::EventSetup& iSetup) const ;
57 
58  private:
61 
64  double pMin_;
66 
68  double rescaleError_;
69 
71  std::vector<std::string> layerTripletNames_;
72 
79 
80 
83 
85 
86  int goodHitsPerSeed_; // number of hits that must be good
87  bool checkCharge_; // check cluster charge
89  std::vector<int32_t> chargeThresholds_;
91  std::vector<int32_t> maxHitsPerModule_;
92  bool checkCharge(const TrackingRecHit *hit) const ;
93  bool checkCharge(const SiStripRecHit2D &hit, int subdetid) const ;
94  void checkNoisyModules(const std::vector<TransientTrackingRecHit::RecHitPointer> &hits, std::vector<bool> &oks) const ;
95 
96  //***top-bottom
99  //***
100 };
101 
102 #endif
GlobalTrackingRegion region_
bool triplets(const edm::Event &e, const edm::EventSetup &c)
void init(const edm::EventSetup &c)
OrderedHitTriplets hitTriplets
void checkNoisyModules(const std::vector< TransientTrackingRecHit::RecHitPointer > &hits, std::vector< bool > &oks) const
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
SeedingLayerSetsBuilder theLsb
std::vector< TrajectorySeed > TrajectorySeedCollection
PropagatorWithMaterial * thePropagatorOp
edm::ESHandle< MagneticField > magfield
edm::ESHandle< TransientTrackingRecHitBuilder > TTTRHBuilder
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< std::string > layerTripletNames_
std::vector< int32_t > chargeThresholds_
std::vector< int32_t > maxHitsPerModule_