8 #include <CLHEP/Units/PhysicalConstants.h> 9 #include <CLHEP/Units/SystemOfUnits.h> 20 double tmp =
R / CLHEP::c_light / CLHEP::ns;
23 int subdet =
id.subdetId();
31 }
else if (subdet == static_cast<int>(
EcalEndcap)) {
42 }
else if (subdet == static_cast<int>(
HcalEndcap)) {
45 }
else if (subdet == static_cast<int>(
HcalOuter)) {
53 double tmp1 = dist / CLHEP::c_light / CLHEP::ns;
55 edm::LogVerbatim(
"IsoTrack") <<
"Detector " << det <<
"/" << subdet <<
" Eta/Theta " <<
eta <<
"/" 56 <<
theta / CLHEP::deg <<
" Dist " << dist / CLHEP::cm <<
" R " <<
R <<
" TOF " <<
tmp
Log< level::Info, true > LogVerbatim
static const double zFrontHE
Sin< T >::type sin(const T &t)
static const double zFrontHF
static const double rFrontHB
static const double zFrontEE
GlobalPoint getPosition(const DetId &id) const
Get the position of a given detector id.
static const double rFrontEB
Cos< T >::type cos(const T &t)
Abs< T >::type abs(const T &t)
static const double zFrontES
static const double rFrontHO
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
double timeOfFlight(DetId id, const CaloGeometry *geo, bool debug=false)
*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