1 #ifndef TBPositionCalc_h
2 #define TBPositionCalc_h
4 #include "CLHEP/Vector/ThreeVector.h"
5 #include "CLHEP/Vector/Rotation.h"
23 #include "CLHEP/Units/GlobalSystemOfUnits.h"
27 TBPositionCalc(
const std::map<std::string, double>& providedParameters,
35 CLHEP::Hep3Vector
CalculateTBPos(
const std::vector<EBDetId>& passedDetIds,
39 CLHEP::Hep3Vector
CalculateCMSPos(
const std::vector<EBDetId>& passedDetIds,
void computeRotation(int myCrystal, CLHEP::HepRotation &CMStoTB)
CLHEP::Hep3Vector CalculateTBPos(const std::vector< EBDetId > &passedDetIds, int myCrystal, EcalRecHitCollection const *passedRecHitsMap)
const CaloSubdetectorGeometry * theGeometry_
EcalTBCrystalMap * theTestMap
CLHEP::Hep3Vector CalculateCMSPos(const std::vector< EBDetId > &passedDetIds, int myCrystal, EcalRecHitCollection const *passedRecHitsMap)