Skip to content
Snippets Groups Projects

Make Birks' Law parameters configurable for Tile and MBTS

5 files
+ 30
20
Compare changes
  • Side-by-side
  • Inline
Files
5
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MINBIASSCINTILLATOR_MINBIASSCINTSDOPTIONS_h
@@ -11,6 +11,9 @@
But now that there are real tools, that setup is not necessary
*/
//CLHEP headers
#include "CLHEP/Units/SystemOfUnits.h"
#include <string>
#include <vector>
@@ -20,6 +23,8 @@ struct MinBiasScintSDOptions {
: timeCut(350.5),
tileTB(false),
doBirk(true),
birk1(0.0130 * CLHEP::g / (CLHEP::MeV * CLHEP::cm2)),
birk2(9.6e-6 * CLHEP::g / (CLHEP::MeV * CLHEP::cm2) * CLHEP::g / (CLHEP::MeV * CLHEP::cm2)),
doTOFCorrection(true),
verboseLevel(0),
rDBAccessSvcName("RDBAccessSvc"),
@@ -42,6 +47,9 @@ struct MinBiasScintSDOptions {
bool tileTB;
/** Flag to enable Birk's law */
bool doBirk;
/** Birks Law parameters - exp. values from NIM 80 (1970) 239-244 */
double birk1;
double birk2;
/** Flag to apply TOF correction (subtract Time Of Flight from ATLAS center) */
bool doTOFCorrection;
/** Helper to keep the same verbosity everywhere */
Loading