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 
65  double pMin_;
67 
69  double rescaleError_;
70 
72  std::vector<std::string> layerTripletNames_;
73 
80 
81 
84 
86 
87  int goodHitsPerSeed_; // number of hits that must be good
88  bool checkCharge_; // check cluster charge
90  std::vector<int32_t> chargeThresholds_;
92  std::vector<int32_t> maxHitsPerModule_;
93  bool checkCharge(const TrackingRecHit *hit) const ;
94  bool checkCharge(const SiStripRecHit2D &hit, int subdetid) const ;
95  void checkNoisyModules(const std::vector<TransientTrackingRecHit::RecHitPointer> &hits, std::vector<bool> &oks) const ;
96 
97  //***top-bottom
100  //***
101 };
102 
103 #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
ctfseeding::SeedingLayerSets theLss
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_
std::vector< std::vector< SeedingLayer > > SeedingLayerSets