|
||||
File indexing completed on 2025-01-18 09:55:20
0001 //========================================================================== 0002 // AIDA Detector description implementation 0003 //-------------------------------------------------------------------------- 0004 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) 0005 // All rights reserved. 0006 // 0007 // For the licensing terms see $DD4hepINSTALL/LICENSE. 0008 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS. 0009 // 0010 // Author : M.Frank 0011 // 0012 //========================================================================== 0013 #ifndef DDDIGI_NOISE_DIGIUNIFORMNOISE_H 0014 #define DDDIGI_NOISE_DIGIUNIFORMNOISE_H 0015 0016 /// Framework include files 0017 #include <DDDigi/DigiSignalProcessor.h> 0018 0019 /// Namespace for the AIDA detector description toolkit 0020 namespace dd4hep { 0021 0022 /// Namespace for the Digitization part of the AIDA detector description toolkit 0023 namespace digi { 0024 0025 /// Generic noise source with a uniform distribution in interval [m_min, m_max] 0026 /** 0027 * \author M.Frank 0028 * \version 1.0 0029 * \ingroup DD4HEP_DIGITIZATION 0030 */ 0031 class DigiUniformNoise : public DigiSignalProcessor { 0032 protected: 0033 /// Property: Mean value of the 0034 double m_min = 0.0; 0035 /// Property: Variance of the energy distribution in electron Volt. MANDATORY! 0036 double m_max = -1.0; 0037 0038 protected: 0039 /// Define standard assignments and constructors 0040 DDDIGI_DEFINE_ACTION_CONSTRUCTORS(DigiUniformNoise); 0041 0042 public: 0043 /// Standard constructor 0044 DigiUniformNoise(const DigiKernel& kernel, const std::string& nam); 0045 /// Default destructor 0046 virtual ~DigiUniformNoise(); 0047 /// Callback to read event uniformnoise 0048 virtual double operator()(DigiCellContext& context) const override; 0049 }; 0050 } // End namespace digi 0051 } // End namespace dd4hep 0052 #endif // DDDIGI_NOISE_DIGIUNIFORMNOISE_H
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |