CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HitTripletGenerator Class Referenceabstract

#include <HitTripletGenerator.h>

Inheritance diagram for HitTripletGenerator:
OrderedHitsGenerator CombinedHitTripletGenerator

Public Member Functions

void clear () final
 
 HitTripletGenerator (HitTripletGenerator const &other)
 
 HitTripletGenerator (unsigned int size=500)
 
virtual void hitTriplets (const TrackingRegion &reg, OrderedHitTriplets &prs, const edm::Event &ev, const edm::EventSetup &es)=0
 
virtual void hitTriplets (const TrackingRegion &reg, OrderedHitTriplets &prs, const edm::EventSetup &es)
 
const OrderedHitTripletsrun (const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es) final
 
 ~HitTripletGenerator () override
 
- Public Member Functions inherited from OrderedHitsGenerator
 OrderedHitsGenerator ()
 
virtual ~OrderedHitsGenerator ()
 

Private Attributes

edm::RunningAverage localRA
 
OrderedHitTriplets theTriplets
 

Additional Inherited Members

- Public Attributes inherited from OrderedHitsGenerator
unsigned int theMaxElement
 

Detailed Description

Definition at line 20 of file HitTripletGenerator.h.

Constructor & Destructor Documentation

◆ HitTripletGenerator() [1/2]

HitTripletGenerator::HitTripletGenerator ( unsigned int  size = 500)

Definition at line 3 of file HitTripletGenerator.cc.

3 : localRA(nSize) {}

◆ HitTripletGenerator() [2/2]

HitTripletGenerator::HitTripletGenerator ( HitTripletGenerator const &  other)
inline

Definition at line 23 of file HitTripletGenerator.h.

23 : localRA(other.localRA.mean()) {}

◆ ~HitTripletGenerator()

HitTripletGenerator::~HitTripletGenerator ( )
inlineoverride

Definition at line 25 of file HitTripletGenerator.h.

25 {}

Member Function Documentation

◆ clear()

void HitTripletGenerator::clear ( void  )
finalvirtual

Reimplemented from OrderedHitsGenerator.

Definition at line 17 of file HitTripletGenerator.cc.

17  {
18  theTriplets.clear();
19  theTriplets.shrink_to_fit();
20 }

References theTriplets.

◆ hitTriplets() [1/2]

virtual void HitTripletGenerator::hitTriplets ( const TrackingRegion reg,
OrderedHitTriplets prs,
const edm::Event ev,
const edm::EventSetup es 
)
pure virtual

Implemented in CombinedHitTripletGenerator.

◆ hitTriplets() [2/2]

virtual void HitTripletGenerator::hitTriplets ( const TrackingRegion reg,
OrderedHitTriplets prs,
const edm::EventSetup es 
)
inlinevirtual

Definition at line 30 of file HitTripletGenerator.h.

30 {}

Referenced by run().

◆ run()

const OrderedHitTriplets & HitTripletGenerator::run ( const TrackingRegion region,
const edm::Event ev,
const edm::EventSetup es 
)
finalvirtual

Member Data Documentation

◆ localRA

edm::RunningAverage HitTripletGenerator::localRA
private

Definition at line 41 of file HitTripletGenerator.h.

Referenced by run().

◆ theTriplets

OrderedHitTriplets HitTripletGenerator::theTriplets
private

Definition at line 40 of file HitTripletGenerator.h.

Referenced by clear(), and run().

cms::cuda::assert
assert(be >=bs)
HitTripletGenerator::theTriplets
OrderedHitTriplets theTriplets
Definition: HitTripletGenerator.h:40
trackingPlots.other
other
Definition: trackingPlots.py:1460
edm::RunningAverage::update
void update(unsigned int q)
Definition: RunningAverage.h:35
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88271
OrderedHitTriplets::size
unsigned int size() const override
Definition: OrderedHitTriplets.h:13
HitTripletGenerator::hitTriplets
virtual void hitTriplets(const TrackingRegion &reg, OrderedHitTriplets &prs, const edm::EventSetup &es)
Definition: HitTripletGenerator.h:30
edm::RunningAverage::upper
int upper() const
Definition: RunningAverage.h:30
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
HitTripletGenerator::localRA
edm::RunningAverage localRA
Definition: HitTripletGenerator.h:41