CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
ChamberSegmentUtility Class Reference

#include <ChamberSegmentUtility.h>

Public Member Functions

 ChamberSegmentUtility ()
 
std::vector< CSCSegmentgetCSCSegmentsInChamber (CSCDetId)
 
std::vector< DTRecSegment4DgetDTSegmentsInChamber (DTChamberId)
 
void initCSU (const edm::Handle< DTRecSegment4DCollection > &, const edm::Handle< CSCSegmentCollection > &)
 

Private Attributes

edm::Handle
< DTRecSegment4DCollection
all4DSegments
 
edm::ESHandle< CSCGeometrycscGeometry
 
std::vector< CSCSegmentcscseg
 
edm::Handle< CSCSegmentCollectionCSCSegments
 
edm::ESHandle< DTGeometrydtGeom
 
std::vector< DTRecSegment4Ddtseg
 

Detailed Description

Class: ChamberSegmentUtility

Description: utility class for the dynamical truncation algorithm

Authors : D. Pagano & G. Bruno - UCL Louvain

Definition at line 33 of file ChamberSegmentUtility.h.

Constructor & Destructor Documentation

ChamberSegmentUtility::ChamberSegmentUtility ( )

Definition at line 36 of file ChamberSegmentUtility.cc.

36 {}

Member Function Documentation

vector< CSCSegment > ChamberSegmentUtility::getCSCSegmentsInChamber ( CSCDetId  sel)

Definition at line 44 of file ChamberSegmentUtility.cc.

References sistrip::SpyUtilities::range().

44  {
45  cscseg.clear();
47  for (CSCSegmentCollection::const_iterator segment = range.first; segment != range.second; ++segment) {
48  cscseg.push_back(*segment);
49  }
50  return cscseg;
51 }
std::pair< const_iterator, const_iterator > range
iterator range
Definition: RangeMap.h:50
const uint16_t range(const Frame &aFrame)
C::const_iterator const_iterator
constant access iterator type
Definition: RangeMap.h:43
edm::Handle< CSCSegmentCollection > CSCSegments
std::vector< CSCSegment > cscseg
vector< DTRecSegment4D > ChamberSegmentUtility::getDTSegmentsInChamber ( DTChamberId  sel)

Definition at line 53 of file ChamberSegmentUtility.cc.

References sistrip::SpyUtilities::range().

53  {
54  dtseg.clear();
56  for (DTRecSegment4DCollection::const_iterator segment = range.first; segment != range.second; ++segment) {
57  dtseg.push_back(*segment);
58  }
59  return dtseg;
60 }
std::pair< const_iterator, const_iterator > range
iterator range
Definition: RangeMap.h:50
const uint16_t range(const Frame &aFrame)
C::const_iterator const_iterator
constant access iterator type
Definition: RangeMap.h:43
std::vector< DTRecSegment4D > dtseg
edm::Handle< DTRecSegment4DCollection > all4DSegments
void ChamberSegmentUtility::initCSU ( const edm::Handle< DTRecSegment4DCollection > &  DTSegProd,
const edm::Handle< CSCSegmentCollection > &  CSCSegProd 
)

Definition at line 38 of file ChamberSegmentUtility.cc.

39  {
40  all4DSegments = DTSegProd;
41  CSCSegments = CSCSegProd;
42 }
edm::Handle< CSCSegmentCollection > CSCSegments
edm::Handle< DTRecSegment4DCollection > all4DSegments

Member Data Documentation

edm::Handle<DTRecSegment4DCollection> ChamberSegmentUtility::all4DSegments
private

Definition at line 49 of file ChamberSegmentUtility.h.

edm::ESHandle<CSCGeometry> ChamberSegmentUtility::cscGeometry
private

Definition at line 46 of file ChamberSegmentUtility.h.

std::vector<CSCSegment> ChamberSegmentUtility::cscseg
private

Definition at line 51 of file ChamberSegmentUtility.h.

edm::Handle<CSCSegmentCollection> ChamberSegmentUtility::CSCSegments
private

Definition at line 47 of file ChamberSegmentUtility.h.

edm::ESHandle<DTGeometry> ChamberSegmentUtility::dtGeom
private

Definition at line 48 of file ChamberSegmentUtility.h.

std::vector<DTRecSegment4D> ChamberSegmentUtility::dtseg
private

Definition at line 50 of file ChamberSegmentUtility.h.