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
13 
17 
20 
25 
27 
30 
32 
33  public:
34  BetaCalculatorECAL(const edm::ParameterSet& iConfig);
36 
37  private:
38  int getDetailedTrackLengthInXtals(std::map<int,GlobalPoint>& trackExitPositionMap,
39  std::map<int,float>& trackCrossedXtalMap,
40  double& totalLengthCurved,
41  GlobalPoint& internalPointCurved,
42  GlobalPoint& externalPointCurved,
43  const CaloGeometry* theGeometry,
44  const CaloTopology * theTopology,
45  const std::vector<SteppingHelixStateInfo>& neckLace);
46  std::vector<SteppingHelixStateInfo> calcEcalDeposit(const FreeTrajectoryState* tkInnerState,
47  const DetIdAssociator& associator);
48  void addStepToXtal(std::map<int,GlobalPoint>& trackExitPositionMap,
49  std::map<int,float>& trackCrossedXtalMap,
50  DetId aDetId,
51  float step,
53  const CaloSubdetectorGeometry* theSubdetGeometry);
54 
55  // Data members
60 
64 
65 };
66 
67 
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)
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:243
edm::ESHandle< DetIdAssociator > ecalDetIdAssociator_
TrackAssociatorParameters parameters_
Definition: DetId.h:18
tuple tracks
Definition: testEve_cfg.py:39
edm::InputTag EERecHitCollection_
void addStepToXtal(std::map< int, GlobalPoint > &trackExitPositionMap, std::map< int, float > &trackCrossedXtalMap, DetId aDetId, float step, GlobalPoint point, const CaloSubdetectorGeometry *theSubdetGeometry)
TrackDetectorAssociator trackAssociator_
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)
edm::InputTag EBRecHitCollection_