CMS 3D CMS Logo

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

#include <BetaCalculatorECAL.h>

Public Member Functions

void addInfoToCandidate (susybsm::HSCParticle &candidate, edm::Handle< reco::TrackCollection > &tracks, edm::Event &iEvent, const edm::EventSetup &iSetup, susybsm::HSCPCaloInfo &caloInfo)
 
 BetaCalculatorECAL (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
 

Private Member Functions

void addStepToXtal (std::map< int, GlobalPoint > &trackExitPositionMap, std::map< int, float > &trackCrossedXtalMap, DetId aDetId, float step, GlobalPoint point, const CaloSubdetectorGeometry *theSubdetGeometry)
 
std::vector
< SteppingHelixStateInfo
calcEcalDeposit (const FreeTrajectoryState *tkInnerState, const DetIdAssociator &associator)
 
int getDetailedTrackLengthInXtals (std::map< int, GlobalPoint > &trackExitPositionMap, std::map< int, float > &trackCrossedXtalMap, double &totalLengthCurved, GlobalPoint &internalPointCurved, GlobalPoint &externalPointCurved, const CaloGeometry *theGeometry, const CaloTopology *theTopology, const std::vector< SteppingHelixStateInfo > &neckLace)
 

Private Attributes

edm::ESHandle< MagneticFieldbField_
 
edm::EDGetTokenT
< EBRecHitCollection
EBRecHitCollectionToken_
 
edm::ESHandle< DetIdAssociatorecalDetIdAssociator_
 
edm::EDGetTokenT
< EERecHitCollection
EERecHitCollectionToken_
 
TrackAssociatorParameters parameters_
 
edm::ESHandle< CaloGeometrytheCaloGeometry_
 
TrackDetectorAssociator trackAssociator_
 

Detailed Description

Definition at line 33 of file BetaCalculatorECAL.h.

Constructor & Destructor Documentation

BetaCalculatorECAL::BetaCalculatorECAL ( const edm::ParameterSet iConfig,
edm::ConsumesCollector &&  iC 
)

Definition at line 19 of file BetaCalculatorECAL.cc.

Member Function Documentation

void BetaCalculatorECAL::addInfoToCandidate ( susybsm::HSCParticle candidate,
edm::Handle< reco::TrackCollection > &  tracks,
edm::Event iEvent,
const edm::EventSetup iSetup,
susybsm::HSCPCaloInfo caloInfo 
)

Definition at line 30 of file BetaCalculatorECAL.cc.

void BetaCalculatorECAL::addStepToXtal ( std::map< int, GlobalPoint > &  trackExitPositionMap,
std::map< int, float > &  trackCrossedXtalMap,
DetId  aDetId,
float  step,
GlobalPoint  point,
const CaloSubdetectorGeometry theSubdetGeometry 
)
private

Definition at line 316 of file BetaCalculatorECAL.cc.

std::vector< SteppingHelixStateInfo > BetaCalculatorECAL::calcEcalDeposit ( const FreeTrajectoryState tkInnerState,
const DetIdAssociator associator 
)
private

Definition at line 203 of file BetaCalculatorECAL.cc.

int BetaCalculatorECAL::getDetailedTrackLengthInXtals ( std::map< int, GlobalPoint > &  trackExitPositionMap,
std::map< int, float > &  trackCrossedXtalMap,
double &  totalLengthCurved,
GlobalPoint internalPointCurved,
GlobalPoint externalPointCurved,
const CaloGeometry theGeometry,
const CaloTopology theTopology,
const std::vector< SteppingHelixStateInfo > &  neckLace 
)
private

Definition at line 223 of file BetaCalculatorECAL.cc.

Member Data Documentation

edm::ESHandle<MagneticField> BetaCalculatorECAL::bField_
private

Definition at line 64 of file BetaCalculatorECAL.h.

edm::EDGetTokenT<EBRecHitCollection> BetaCalculatorECAL::EBRecHitCollectionToken_
private

Definition at line 60 of file BetaCalculatorECAL.h.

edm::ESHandle<DetIdAssociator> BetaCalculatorECAL::ecalDetIdAssociator_
private

Definition at line 63 of file BetaCalculatorECAL.h.

edm::EDGetTokenT<EERecHitCollection> BetaCalculatorECAL::EERecHitCollectionToken_
private

Definition at line 61 of file BetaCalculatorECAL.h.

TrackAssociatorParameters BetaCalculatorECAL::parameters_
private

Definition at line 59 of file BetaCalculatorECAL.h.

edm::ESHandle<CaloGeometry> BetaCalculatorECAL::theCaloGeometry_
private

Definition at line 65 of file BetaCalculatorECAL.h.

TrackDetectorAssociator BetaCalculatorECAL::trackAssociator_
private

Definition at line 58 of file BetaCalculatorECAL.h.