CMS 3D CMS Logo

HFFibre.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HFFibre_h
2 #define SimG4CMS_HFFibre_h 1
3 // File: HFFibre.h
5 // Description: Calculates attenuation length
7 
12 
13 #include "G4ThreeVector.hh"
14 
15 #include <vector>
16 #include <string>
17 
18 class HFFibre {
19 public:
20  //Constructor and Destructor
21  HFFibre(const std::string& name,
22  const HcalDDDSimConstants* hcons,
23  const HcalSimulationParameters* hps,
24  edm::ParameterSet const& p);
25  ~HFFibre() = default;
26 
27  double attLength(double lambda);
28  double tShift(const G4ThreeVector& point, int depth, int fromEndAbs = 0);
29  double zShift(const G4ThreeVector& point, int depth, int fromEndAbs = 0);
30 
31 private:
34  double cFibre;
35  std::vector<double> gpar, radius;
36  std::vector<double> shortFL, longFL;
37  std::vector<double> attL;
38  int nBinR, nBinAtt;
39  double lambLim[2];
40 };
41 #endif
HFFibre
Definition: HFFibre.h:18
HFFibre::shortFL
std::vector< double > shortFL
Definition: HFFibre.h:36
MessageLogger.h
HFFibre::gpar
std::vector< double > gpar
Definition: HFFibre.h:35
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
HFFibre::attL
std::vector< double > attL
Definition: HFFibre.h:37
HFFibre::tShift
double tShift(const G4ThreeVector &point, int depth, int fromEndAbs=0)
Definition: HFFibre.cc:103
HFFibre::attLength
double attLength(double lambda)
Definition: HFFibre.cc:87
HcalDDDSimConstants
Definition: HcalDDDSimConstants.h:24
HFFibre::hcalConstant_
const HcalDDDSimConstants * hcalConstant_
Definition: HFFibre.h:32
HcalSimulationParameters.h
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
HFFibre::nBinR
int nBinR
Definition: HFFibre.h:38
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
HFFibre::longFL
std::vector< double > longFL
Definition: HFFibre.h:36
HFFibre::zShift
double zShift(const G4ThreeVector &point, int depth, int fromEndAbs=0)
Definition: HFFibre.cc:114
HFFibre::radius
std::vector< double > radius
Definition: HFFibre.h:35
HFFibre::~HFFibre
~HFFibre()=default
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
HFFibre::hcalsimpar_
const HcalSimulationParameters * hcalsimpar_
Definition: HFFibre.h:33
HFFibre::cFibre
double cFibre
Definition: HFFibre.h:34
ParameterSet.h
HFFibre::nBinAtt
int nBinAtt
Definition: HFFibre.h:38
point
*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
HFFibre::lambLim
double lambLim[2]
Definition: HFFibre.h:39
HcalSimulationParameters
Definition: HcalSimulationParameters.h:6
HcalDDDSimConstants.h
HFFibre::HFFibre
HFFibre(const std::string &name, const HcalDDDSimConstants *hcons, const HcalSimulationParameters *hps, edm::ParameterSet const &p)
Definition: HFFibre.cc:16