CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
35  public:
38 
39  private:
40  int getDetailedTrackLengthInXtals(std::map<int,GlobalPoint>& trackExitPositionMap,
41  std::map<int,float>& trackCrossedXtalMap,
42  double& totalLengthCurved,
43  GlobalPoint& internalPointCurved,
44  GlobalPoint& externalPointCurved,
45  const CaloGeometry* theGeometry,
46  const CaloTopology * theTopology,
47  const std::vector<SteppingHelixStateInfo>& neckLace);
48  std::vector<SteppingHelixStateInfo> calcEcalDeposit(const FreeTrajectoryState* tkInnerState,
49  const DetIdAssociator& associator);
50  void addStepToXtal(std::map<int,GlobalPoint>& trackExitPositionMap,
51  std::map<int,float>& trackCrossedXtalMap,
52  DetId aDetId,
53  float step,
55  const CaloSubdetectorGeometry* theSubdetGeometry);
56 
57  // Data members
62 
66 
67 };
68 
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:230
edm::EDGetTokenT< EERecHitCollection > EERecHitCollectionToken_
edm::ESHandle< DetIdAssociator > ecalDetIdAssociator_
TrackAssociatorParameters parameters_
Definition: DetId.h:18
tuple tracks
Definition: testEve_cfg.py:39
void addStepToXtal(std::map< int, GlobalPoint > &trackExitPositionMap, std::map< int, float > &trackCrossedXtalMap, DetId aDetId, float step, GlobalPoint point, const CaloSubdetectorGeometry *theSubdetGeometry)
TrackDetectorAssociator trackAssociator_
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)