CMS 3D CMS Logo

BetaCalculatorECAL.h
Go to the documentation of this file.
1 // system include files
2 #include <memory>
3 #include <vector>
4 #include <map>
5 
6 // user include files
14 
19 
22 
27 
29 
32 
34 public:
39  const edm::EventSetup& iSetup,
40  susybsm::HSCPCaloInfo& caloInfo);
41 
42 private:
43  int getDetailedTrackLengthInXtals(std::map<int, GlobalPoint>& trackExitPositionMap,
44  std::map<int, float>& trackCrossedXtalMap,
45  double& totalLengthCurved,
46  GlobalPoint& internalPointCurved,
47  GlobalPoint& externalPointCurved,
48  const CaloGeometry* theGeometry,
49  const CaloTopology* theTopology,
50  const std::vector<SteppingHelixStateInfo>& neckLace);
51  std::vector<SteppingHelixStateInfo> calcEcalDeposit(const FreeTrajectoryState* tkInnerState,
53  void addStepToXtal(std::map<int, GlobalPoint>& trackExitPositionMap,
54  std::map<int, float>& trackCrossedXtalMap,
55  DetId aDetId,
56  float step,
58  const CaloSubdetectorGeometry* theSubdetGeometry);
59 
60  // Data members
65 
69 };
susybsm::HSCParticle
Definition: HSCParticle.h:42
Handle.h
PDWG_EXOHSCP_cff.tracks
tracks
Definition: PDWG_EXOHSCP_cff.py:28
FreeTrajectoryState.h
EDProducer.h
ESHandle.h
step
step
Definition: StallMonitor.cc:94
TrackDetectorAssociator.h
edm::EDGetTokenT
Definition: EDGetToken.h:33
BetaCalculatorECAL::ecalDetIdAssociator_
edm::ESHandle< DetIdAssociator > ecalDetIdAssociator_
Definition: BetaCalculatorECAL.h:66
BetaCalculatorECAL::BetaCalculatorECAL
BetaCalculatorECAL(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
Definition: BetaCalculatorECAL.cc:19
edm::Handle< reco::TrackCollection >
CaloTopology
Definition: CaloTopology.h:19
EcalRecHitCollections.h
BetaCalculatorECAL::parameters_
TrackAssociatorParameters parameters_
Definition: BetaCalculatorECAL.h:62
BetaCalculatorECAL::bField_
edm::ESHandle< MagneticField > bField_
Definition: BetaCalculatorECAL.h:67
DetId
Definition: DetId.h:17
MakerMacros.h
CaloGeometry
Definition: CaloGeometry.h:21
BetaCalculatorECAL::addInfoToCandidate
void addInfoToCandidate(susybsm::HSCParticle &candidate, edm::Handle< reco::TrackCollection > &tracks, edm::Event &iEvent, const edm::EventSetup &iSetup, susybsm::HSCPCaloInfo &caloInfo)
Definition: BetaCalculatorECAL.cc:29
HSCParticle.h
BetaCalculatorECAL::EBRecHitCollectionToken_
edm::EDGetTokenT< EBRecHitCollection > EBRecHitCollectionToken_
Definition: BetaCalculatorECAL.h:63
IdealMagneticFieldRecord.h
edm::ESHandle< DetIdAssociator >
ctfWithMaterialTrackMCMatch_cfi.associator
associator
Definition: ctfWithMaterialTrackMCMatch_cfi.py:7
Point3DBase< float, GlobalTag >
DetIdAssociator
Definition: DetIdAssociator.h:45
susybsm::HSCPCaloInfo
Definition: HSCPCaloInfo.h:13
BetaCalculatorECAL::EERecHitCollectionToken_
edm::EDGetTokenT< EERecHitCollection > EERecHitCollectionToken_
Definition: BetaCalculatorECAL.h:64
BetaCalculatorECAL::getDetailedTrackLengthInXtals
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)
Definition: BetaCalculatorECAL.cc:221
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
TrackDetectorAssociator
Definition: TrackDetectorAssociator.h:49
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::EventSetup
Definition: EventSetup.h:57
BetaCalculatorECAL::addStepToXtal
void addStepToXtal(std::map< int, GlobalPoint > &trackExitPositionMap, std::map< int, float > &trackCrossedXtalMap, DetId aDetId, float step, GlobalPoint point, const CaloSubdetectorGeometry *theSubdetGeometry)
Definition: BetaCalculatorECAL.cc:315
CaloTopology.h
HSCPCaloInfo.h
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
DetId.h
Frameworkfwd.h
DetIdAssociator.h
CaloGeometry.h
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22
BetaCalculatorECAL::trackAssociator_
TrackDetectorAssociator trackAssociator_
Definition: BetaCalculatorECAL.h:61
BetaCalculatorECAL::theCaloGeometry_
edm::ESHandle< CaloGeometry > theCaloGeometry_
Definition: BetaCalculatorECAL.h:68
ConsumesCollector.h
ParameterSet.h
point
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5
edm::Event
Definition: Event.h:73
GlobalPoint.h
TrackAssociatorParameters.h
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
BetaCalculatorECAL
Definition: BetaCalculatorECAL.h:33
BetaCalculatorECAL::calcEcalDeposit
std::vector< SteppingHelixStateInfo > calcEcalDeposit(const FreeTrajectoryState *tkInnerState, const DetIdAssociator &associator)
Definition: BetaCalculatorECAL.cc:202
TrackAssociatorParameters
Definition: TrackAssociatorParameters.h:34