CMS 3D CMS Logo

APDSimParameters.h
Go to the documentation of this file.
1 #ifndef EcalSimAlgos_APDSimParameters_h
2 #define EcalSimAlgos_APDSimParameters_h
3 
4 #include <cmath>
5 #include <string>
6 #include <vector>
7 
9 public:
11  bool separateDigi,
12  double simToPELow,
13  double simToPEHigh,
14  double timeOffset,
15  double timeOffWidth,
16  bool doPEStats,
17  const std::string& digiTag,
18  const std::vector<double>& nonlParms)
19  :
20 
30 
31  virtual ~APDSimParameters() {}
32 
33  bool addToBarrel() const { return m_addToBarrel; }
34  bool separateDigi() const { return m_separateDigi; }
35  double simToPELow() const { return m_simToPELow; }
36  double simToPEHigh() const { return m_simToPEHigh; }
37  double timeOffset() const { return m_timeOffset; }
38  double timeOffWidth() const { return m_timeOffWidth; }
39  bool doPEStats() const { return m_doPEStats; }
40 
41  const std::string& digiTag() const { return m_digiTag; }
42 
43  const std::vector<double>& nonlParms() const { return m_nonlParms; }
44 
45 private:
48  double m_simToPELow;
49  double m_simToPEHigh;
50  double m_timeOffset;
54  std::vector<double> m_nonlParms;
55 };
56 
57 #endif
APDSimParameters::m_nonlParms
std::vector< double > m_nonlParms
Definition: APDSimParameters.h:54
APDSimParameters::simToPEHigh
double simToPEHigh() const
Definition: APDSimParameters.h:36
APDSimParameters::m_simToPELow
double m_simToPELow
Definition: APDSimParameters.h:48
APDSimParameters::m_timeOffset
double m_timeOffset
Definition: APDSimParameters.h:50
APDSimParameters::timeOffset
double timeOffset() const
Definition: APDSimParameters.h:37
APDSimParameters::m_doPEStats
bool m_doPEStats
Definition: APDSimParameters.h:52
APDSimParameters::m_separateDigi
bool m_separateDigi
Definition: APDSimParameters.h:47
APDSimParameters::~APDSimParameters
virtual ~APDSimParameters()
Definition: APDSimParameters.h:31
APDSimParameters::timeOffWidth
double timeOffWidth() const
Definition: APDSimParameters.h:38
APDSimParameters
Definition: APDSimParameters.h:8
APDSimParameters::m_digiTag
std::string m_digiTag
Definition: APDSimParameters.h:53
APDSimParameters::doPEStats
bool doPEStats() const
Definition: APDSimParameters.h:39
APDSimParameters::addToBarrel
bool addToBarrel() const
Definition: APDSimParameters.h:33
APDSimParameters::separateDigi
bool separateDigi() const
Definition: APDSimParameters.h:34
APDSimParameters::nonlParms
const std::vector< double > & nonlParms() const
Definition: APDSimParameters.h:43
APDSimParameters::m_timeOffWidth
double m_timeOffWidth
Definition: APDSimParameters.h:51
APDSimParameters::APDSimParameters
APDSimParameters(bool addToBarrel, bool separateDigi, double simToPELow, double simToPEHigh, double timeOffset, double timeOffWidth, bool doPEStats, const std::string &digiTag, const std::vector< double > &nonlParms)
Definition: APDSimParameters.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
APDSimParameters::m_addToBarrel
bool m_addToBarrel
Definition: APDSimParameters.h:46
APDSimParameters::digiTag
const std::string & digiTag() const
Definition: APDSimParameters.h:41
APDSimParameters::simToPELow
double simToPELow() const
Definition: APDSimParameters.h:35
APDSimParameters::m_simToPEHigh
double m_simToPEHigh
Definition: APDSimParameters.h:49