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 };
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)
BetaCalculatorECAL(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
void addInfoToCandidate(susybsm::HSCParticle &candidate, edm::Handle< reco::TrackCollection > &tracks, edm::Event &iEvent, const edm::EventSetup &iSetup, susybsm::HSCPCaloInfo &caloInfo)
int iEvent
Definition: GenABIO.cc:224
edm::EDGetTokenT< EERecHitCollection > EERecHitCollectionToken_
edm::ESHandle< DetIdAssociator > ecalDetIdAssociator_
TrackAssociatorParameters parameters_
Definition: DetId.h:17
void addStepToXtal(std::map< int, GlobalPoint > &trackExitPositionMap, std::map< int, float > &trackCrossedXtalMap, DetId aDetId, float step, GlobalPoint point, const CaloSubdetectorGeometry *theSubdetGeometry)
TrackDetectorAssociator trackAssociator_
step
Definition: StallMonitor.cc:94
edm::EDGetTokenT< EBRecHitCollection > EBRecHitCollectionToken_
edm::ESHandle< MagneticField > bField_
edm::ESHandle< CaloGeometry > theCaloGeometry_
*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
std::vector< SteppingHelixStateInfo > calcEcalDeposit(const FreeTrajectoryState *tkInnerState, const DetIdAssociator &associator)