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
11 
16 
20 
25 
27 
30 
32 public:
37  const edm::EventSetup& iSetup,
38  susybsm::HSCPCaloInfo& caloInfo);
39 
40 private:
41  int getDetailedTrackLengthInXtals(std::map<int, GlobalPoint>& trackExitPositionMap,
42  std::map<int, float>& trackCrossedXtalMap,
43  double& totalLengthCurved,
44  GlobalPoint& internalPointCurved,
45  GlobalPoint& externalPointCurved,
46  const CaloGeometry* theGeometry,
47  const CaloTopology* theTopology,
48  const std::vector<SteppingHelixStateInfo>& neckLace);
49  std::vector<SteppingHelixStateInfo> calcEcalDeposit(const FreeTrajectoryState* tkInnerState,
51  void addStepToXtal(std::map<int, GlobalPoint>& trackExitPositionMap,
52  std::map<int, float>& trackCrossedXtalMap,
53  DetId aDetId,
54  float step,
56  const CaloSubdetectorGeometry* theSubdetGeometry);
57 
58  // Data members
63 
69 };
susybsm::HSCParticle
Definition: HSCParticle.h:42
Handle.h
PDWG_EXOHSCP_cff.tracks
tracks
Definition: PDWG_EXOHSCP_cff.py:28
FreeTrajectoryState.h
step
step
Definition: StallMonitor.cc:94
TrackDetectorAssociator.h
edm::EDGetTokenT
Definition: EDGetToken.h:33
BetaCalculatorECAL::BetaCalculatorECAL
BetaCalculatorECAL(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
Definition: BetaCalculatorECAL.cc:18
edm::Handle< reco::TrackCollection >
CaloTopology
Definition: CaloTopology.h:19
EcalRecHitCollections.h
BetaCalculatorECAL::parameters_
TrackAssociatorParameters parameters_
Definition: BetaCalculatorECAL.h:60
BetaCalculatorECAL::theCaloGeometryToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > theCaloGeometryToken_
Definition: BetaCalculatorECAL.h:66
DetId
Definition: DetId.h:17
BetaCalculatorECAL::ecalDetIdAssociatorToken_
edm::ESGetToken< DetIdAssociator, DetIdAssociatorRecord > ecalDetIdAssociatorToken_
Definition: BetaCalculatorECAL.h:64
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:32
HSCParticle.h
BetaCalculatorECAL::EBRecHitCollectionToken_
edm::EDGetTokenT< EBRecHitCollection > EBRecHitCollectionToken_
Definition: BetaCalculatorECAL.h:61
IdealMagneticFieldRecord.h
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:62
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:47
Event.h
TrackDetectorAssociator
Definition: TrackDetectorAssociator.h:44
CaloTopologyRecord.h
iEvent
int iEvent
Definition: GenABIO.cc:224
BetaCalculatorECAL::bFieldToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bFieldToken_
Definition: BetaCalculatorECAL.h:65
BetaCalculatorECAL::caloTopologyToken_
edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopologyToken_
Definition: BetaCalculatorECAL.h:67
BetaCalculatorECAL::bField_
const MagneticField * bField_
Definition: BetaCalculatorECAL.h:68
edm::EventSetup
Definition: EventSetup.h:57
edm::ESGetToken< DetIdAssociator, DetIdAssociatorRecord >
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:59
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
MagneticField
Definition: MagneticField.h:19
GlobalPoint.h
TrackAssociatorParameters.h
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
BetaCalculatorECAL
Definition: BetaCalculatorECAL.h:31
BetaCalculatorECAL::calcEcalDeposit
std::vector< SteppingHelixStateInfo > calcEcalDeposit(const FreeTrajectoryState *tkInnerState, const DetIdAssociator &associator)
Definition: BetaCalculatorECAL.cc:202
TrackAssociatorParameters
Definition: TrackAssociatorParameters.h:43