CMS 3D CMS Logo

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 public:
43  explicit SimpleCosmicBONSeeder(const edm::ParameterSet &conf);
44 
45  ~SimpleCosmicBONSeeder() override {}
46 
47  void produce(edm::Event &e, const edm::EventSetup &c) override;
48 
49  void init(const edm::EventSetup &c);
50  bool triplets(const edm::Event &e, const edm::EventSetup &c);
52  void done();
53 
54  bool goodTriplet(const GlobalPoint &inner,
55  const GlobalPoint &middle,
56  const GlobalPoint &outer,
57  const double &minRho) const;
58 
59  std::pair<GlobalVector, int> pqFromHelixFit(const GlobalPoint &inner,
60  const GlobalPoint &middle,
61  const GlobalPoint &outer,
62  const edm::EventSetup &iSetup) const;
63 
64 private:
67 
70  double pMin_;
72 
74  double rescaleError_;
75 
77 
81  TkClonerImpl cloner; // FIXME
85 
88 
90 
91  int goodHitsPerSeed_; // number of hits that must be good
92  bool checkCharge_; // check cluster charge
94  std::vector<int32_t> chargeThresholds_;
96  std::vector<int32_t> maxHitsPerModule_;
97  bool checkCharge(const TrackingRecHit *hit) const;
98  bool checkCharge(const SiStripRecHit2D &hit, int subdetid) const;
99  void checkNoisyModules(const std::vector<SeedingHitSet::ConstRecHitPointer> &hits, std::vector<bool> &oks) const;
100 
101  //***top-bottom
104  //***
105 };
106 
107 #endif
SimpleCosmicBONSeeder::chargeThresholds_
std::vector< int32_t > chargeThresholds_
Definition: SimpleCosmicBONSeeder.h:94
SimpleCosmicBONSeeder::thePropagatorAl
PropagatorWithMaterial * thePropagatorAl
Definition: SimpleCosmicBONSeeder.h:83
Handle.h
GlobalTrackingRegion.h
MessageLogger.h
TrackerGeometry.h
TrajectorySeedCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
Definition: TrajectorySeedCollection.h:6
FastHelix.h
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
ESHandle.h
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
SiStripMatchedRecHit2DCollection.h
SimpleCosmicBONSeeder::seedingLayerToken_
edm::EDGetTokenT< SeedingLayerSetsHits > seedingLayerToken_
Definition: SimpleCosmicBONSeeder.h:68
edm::EDGetTokenT< SeedingLayerSetsHits >
TransientRecHitRecord.h
SimpleCosmicBONSeeder::init
void init(const edm::EventSetup &c)
Definition: SimpleCosmicBONSeeder.cc:127
SimpleCosmicBONSeeder::~SimpleCosmicBONSeeder
~SimpleCosmicBONSeeder() override
Definition: SimpleCosmicBONSeeder.h:45
SimpleCosmicBONSeeder::TTTRHBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > TTTRHBuilder
Definition: SimpleCosmicBONSeeder.h:80
SimpleCosmicBONSeeder::seedOnMiddle_
bool seedOnMiddle_
Definition: SimpleCosmicBONSeeder.h:73
SeedingLayerSetsHits
Definition: SeedingLayerSetsHits.h:18
EDProducer.h
SimpleCosmicBONSeeder::checkCharge
bool checkCharge(const TrackingRecHit *hit) const
Definition: SimpleCosmicBONSeeder.cc:310
SimpleCosmicBONSeeder::triplets
bool triplets(const edm::Event &e, const edm::EventSetup &c)
Definition: SimpleCosmicBONSeeder.cc:171
SiStripRecHit2D
Definition: SiStripRecHit2D.h:7
TransientTrackingRecHit.h
ClusterChecker
Definition: ClusterChecker.h:30
GlobalTrackingRegion
Definition: GlobalTrackingRegion.h:13
SimpleCosmicBONSeeder::seedVerbosity_
uint32_t seedVerbosity_
Definition: SimpleCosmicBONSeeder.h:76
SimpleCosmicBONSeeder::hitTriplets
OrderedHitTriplets hitTriplets
Definition: SimpleCosmicBONSeeder.h:89
SimpleCosmicBONSeeder::tripletsVerbosity_
uint32_t tripletsVerbosity_
Definition: SimpleCosmicBONSeeder.h:76
SimpleCosmicBONSeeder::done
void done()
Definition: SimpleCosmicBONSeeder.cc:621
TkTransientTrackingRecHitBuilder.h
SimpleCosmicBONSeeder::cloner
TkClonerImpl cloner
Definition: SimpleCosmicBONSeeder.h:81
SimpleCosmicBONSeeder::pqFromHelixFit
std::pair< GlobalVector, int > pqFromHelixFit(const GlobalPoint &inner, const GlobalPoint &middle, const GlobalPoint &outer, const edm::EventSetup &iSetup) const
Definition: SimpleCosmicBONSeeder.cc:403
SimpleCosmicBONSeeder::builderName
std::string builderName
Definition: SimpleCosmicBONSeeder.h:66
SimpleCosmicBONSeeder::maxHitsPerModule_
std::vector< int32_t > maxHitsPerModule_
Definition: SimpleCosmicBONSeeder.h:96
PropagatorWithMaterial
Definition: PropagatorWithMaterial.h:25
SimpleCosmicBONSeeder::checkCharge_
bool checkCharge_
Definition: SimpleCosmicBONSeeder.h:92
SimpleCosmicBONSeeder::magfield
edm::ESHandle< MagneticField > magfield
Definition: SimpleCosmicBONSeeder.h:78
SurfaceOrientation::inner
Definition: Surface.h:19
SimpleCosmicBONSeeder::rescaleError_
double rescaleError_
Definition: SimpleCosmicBONSeeder.h:74
SimpleCosmicBONSeeder::goodTriplet
bool goodTriplet(const GlobalPoint &inner, const GlobalPoint &middle, const GlobalPoint &outer, const double &minRho) const
Definition: SimpleCosmicBONSeeder.cc:376
IdealMagneticFieldRecord.h
edm::ESHandle< MagneticField >
SimpleCosmicBONSeeder
Definition: SimpleCosmicBONSeeder.h:41
SimpleCosmicBONSeeder::conf_
edm::ParameterSet conf_
Definition: SimpleCosmicBONSeeder.h:65
SimpleCosmicBONSeeder::thePropagatorOp
PropagatorWithMaterial * thePropagatorOp
Definition: SimpleCosmicBONSeeder.h:84
OrderedHitTriplets.h
SimpleCosmicBONSeeder::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: SimpleCosmicBONSeeder.cc:89
SimpleCosmicBONSeeder::check_
ClusterChecker check_
Definition: SimpleCosmicBONSeeder.h:86
Point3DBase< float, GlobalTag >
EDGetToken.h
SimpleCosmicBONSeeder::theUpdator
KFUpdator * theUpdator
Definition: SimpleCosmicBONSeeder.h:82
SimpleCosmicBONSeeder::matchedRecHitUsesAnd_
bool matchedRecHitUsesAnd_
Definition: SimpleCosmicBONSeeder.h:93
SimpleCosmicBONSeeder::region_
GlobalTrackingRegion region_
Definition: SimpleCosmicBONSeeder.h:69
SimpleCosmicBONSeeder::seeds
bool seeds(TrajectorySeedCollection &output, const edm::EventSetup &iSetup)
Definition: SimpleCosmicBONSeeder.cc:456
SimpleCosmicBONSeeder::maxSeeds_
int32_t maxSeeds_
Definition: SimpleCosmicBONSeeder.h:87
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ClusterChecker.h
TrackerDigiGeometryRecord.h
SimpleCosmicBONSeeder::pMin_
double pMin_
Definition: SimpleCosmicBONSeeder.h:70
KFUpdator.h
edm::ParameterSet
Definition: ParameterSet.h:47
SimpleCosmicBONSeeder::SimpleCosmicBONSeeder
SimpleCosmicBONSeeder(const edm::ParameterSet &conf)
Definition: SimpleCosmicBONSeeder.cc:25
Event.h
OrderedHitTriplets
Definition: OrderedHitTriplets.h:9
PropagatorWithMaterial.h
SiStripRecHit2DCollection.h
SimpleCosmicBONSeeder::writeTriplets_
bool writeTriplets_
Definition: SimpleCosmicBONSeeder.h:71
SimpleCosmicBONSeeder::checkNoisyModules
void checkNoisyModules(const std::vector< SeedingHitSet::ConstRecHitPointer > &hits, std::vector< bool > &oks) const
Definition: SimpleCosmicBONSeeder.cc:347
GlobalError.h
edm::stream::EDProducer
Definition: EDProducer.h:38
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
SimpleCosmicBONSeeder::helixVerbosity_
uint32_t helixVerbosity_
Definition: SimpleCosmicBONSeeder.h:76
TrajectorySeedCollection.h
InputTag.h
TrackingRecHit
Definition: TrackingRecHit.h:21
SimpleCosmicBONSeeder::negativeYOnly
bool negativeYOnly
Definition: SimpleCosmicBONSeeder.h:103
TkClonerImpl
Definition: TkClonerImpl.h:12
SimpleCosmicBONSeeder::tracker
edm::ESHandle< TrackerGeometry > tracker
Definition: SimpleCosmicBONSeeder.h:79
SimpleCosmicBONSeeder::goodHitsPerSeed_
int goodHitsPerSeed_
Definition: SimpleCosmicBONSeeder.h:91
EventSetup.h
TrajectoryStateTransform.h
TransientTrackingRecHitBuilder.h
ParameterSet.h
SurfaceOrientation::outer
Definition: Surface.h:19
SimpleCosmicBONSeeder::checkMaxHitsPerModule_
bool checkMaxHitsPerModule_
Definition: SimpleCosmicBONSeeder.h:95
edm::Event
Definition: Event.h:73
StripSubdetector.h
KFUpdator
Definition: KFUpdator.h:32
FastCircle.h
hit
Definition: SiStripHitEffFromCalibTree.cc:88
SimpleCosmicBONSeeder::maxTriplets_
int32_t maxTriplets_
Definition: SimpleCosmicBONSeeder.h:87
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
SimpleCosmicBONSeeder::positiveYOnly
bool positiveYOnly
Definition: SimpleCosmicBONSeeder.h:102