CMS 3D CMS Logo

HitTripletGeneratorFromPairAndLayers.h
Go to the documentation of this file.
1 #ifndef HitTripletGeneratorFromPairAndLayers_H
2 #define HitTripletGeneratorFromPairAndLayers_H
3 
11 #include <vector>
14 
15 namespace edm {
16  class ParameterSet;
17  class Event;
18  class EventSetup;
19  class ConsumesCollector;
21 } // namespace edm
22 class TrackingRegion;
24 
26 public:
28 
29  explicit HitTripletGeneratorFromPairAndLayers(unsigned int maxElement = 0);
32 
34 
35  void init(std::unique_ptr<HitPairGeneratorFromLayerPair>&& pairs, LayerCacheType* layerCache);
36 
38 
39  virtual void hitTriplets(const TrackingRegion& region,
40  OrderedHitTriplets& trs,
41  const edm::Event& ev,
42  const edm::EventSetup& es,
43  const SeedingLayerSetsHits::SeedingLayerSet& pairLayers,
44  const std::vector<SeedingLayerSetsHits::SeedingLayer>& thirdLayers) = 0;
45 
46  virtual void hitTriplets(const TrackingRegion& region,
48  const edm::EventSetup& es,
49  const HitDoublets& doublets,
50  const RecHitsSortedInPhi** thirdHitMap,
51  const std::vector<const DetLayer*>& thirdLayerDetLayer,
52  const int nThirdLayers) = 0;
53 
54 protected:
55  std::unique_ptr<HitPairGeneratorFromLayerPair> thePairGenerator;
57  const unsigned int theMaxElement;
58 };
59 #endif
HitTripletGeneratorFromPairAndLayers::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition: HitTripletGeneratorFromPairAndLayers.cc:14
HitTripletGeneratorFromPairAndLayers::init
void init(std::unique_ptr< HitPairGeneratorFromLayerPair > &&pairs, LayerCacheType *layerCache)
Definition: HitTripletGeneratorFromPairAndLayers.cc:18
HLT_FULL_cff.maxElement
maxElement
Definition: HLT_FULL_cff.py:9854
HitTripletGeneratorFromPairAndLayers::pairGenerator
const HitPairGeneratorFromLayerPair & pairGenerator() const
Definition: HitTripletGeneratorFromPairAndLayers.h:37
edm
HLT enums.
Definition: AlignableModifier.h:19
HitTripletGeneratorFromPairAndLayers::LayerCacheType
LayerHitMapCache LayerCacheType
Definition: HitTripletGeneratorFromPairAndLayers.h:27
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
HLT_FULL_cff.doublets
doublets
Definition: HLT_FULL_cff.py:9865
HitPairGeneratorFromLayerPair
Definition: HitPairGeneratorFromLayerPair.h:11
LayerHitMapCache.h
LayerHitMapCache
Definition: LayerHitMapCache.h:14
SeedingLayerSetsHits.h
HitTripletGeneratorFromPairAndLayers::thePairGenerator
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
Definition: HitTripletGeneratorFromPairAndLayers.h:55
HitTripletGeneratorFromPairAndLayers::~HitTripletGeneratorFromPairAndLayers
virtual ~HitTripletGeneratorFromPairAndLayers()
Definition: HitTripletGeneratorFromPairAndLayers.cc:12
HitTripletGeneratorFromPairAndLayers
Definition: HitTripletGeneratorFromPairAndLayers.h:25
Event
OrderedHitTriplets.h
HitTripletGeneratorFromPairAndLayers::hitTriplets
virtual void hitTriplets(const TrackingRegion &region, OrderedHitTriplets &trs, const edm::Event &ev, const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayerSet &pairLayers, const std::vector< SeedingLayerSetsHits::SeedingLayer > &thirdLayers)=0
RecHitsSortedInPhi
Definition: RecHitsSortedInPhi.h:17
HitDoublets
Definition: RecHitsSortedInPhi.h:124
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
OrderedHitTriplets
Definition: OrderedHitTriplets.h:9
HitTripletGeneratorFromPairAndLayers::HitTripletGeneratorFromPairAndLayers
HitTripletGeneratorFromPairAndLayers(unsigned int maxElement=0)
Definition: HitTripletGeneratorFromPairAndLayers.cc:6
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88271
edm::EventSetup
Definition: EventSetup.h:58
HitTripletGeneratorFromPairAndLayers::theLayerCache
LayerCacheType * theLayerCache
Definition: HitTripletGeneratorFromPairAndLayers.h:56
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
HitTripletGeneratorFromPairAndLayers::theMaxElement
const unsigned int theMaxElement
Definition: HitTripletGeneratorFromPairAndLayers.h:57
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
SeedingLayerSetsHits::SeedingLayerSet
Definition: SeedingLayerSetsHits.h:65
ParameterSetDescription
TrackingRegion
Definition: TrackingRegion.h:41
mps_fire.result
result
Definition: mps_fire.py:311
EventSetup
edm::Event
Definition: Event.h:73
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27