RawDigitAdder_35t.h
Go to the documentation of this file.
1 /**
2  * \file RawDigitAdder_35t.h
3  *
4  * \ingroup DataOverlay
5  *
6  * \brief Defintion for a class to add two vectors together,
7  * and give an "added" waveform.
8  *
9  *
10  * @author wketchum
11  * @author mthiesse
12  */
13 
14 /** \addtogroup DataOverlay
15 
16  @{*/
17 #ifndef OVERLAY_DATAOVERLAY_RAWDIGITADDER_35T_H
18 #define OVERLAY_DATAOVERLAY_RAWDIGITADDER_35T_H
19 
20 #include <vector>
21 #include <string>
22 #include "RawDigitAdder.h"
23 
24 /**
25  \class RawDigitAdder_35t
26  Add two vectors together.
27  Take stuck bits into account -- i.e. do not add when stuck
28  Allows for a scale factor to be applied to inputs: defaults to 1.
29 
30 */
31 namespace mix {
32  class RawDigitAdder_35t;
33 }
34 
36 
37 public:
38 
39  RawDigitAdder_35t(bool t=true);
40 
41 
44 
46 
47  void SetScaleInputs(float f1, float f2)
49 
50  std::string Name() { return "RawDigitAdder_35t"; }
51 
52  private:
53 
56  void SetScaleInput(float f, float& _scale);
57  void AddRawDigit( short const&, short const&, short&);
58 
59 };
60 
61 #endif
62 /** @} */ // end of doxygen group
63 
Defintion for a templated base class to add two vectors together, and give an "added" waveform...
std::string string
Definition: nybbler.cc:12
void SetScaleSecondInput(float f2)
SynchrotronAndGN f2
void SetScaleInput(float f, float &_scale)
void AddRawDigit(short const &, short const &, short &)
void SetStuckBitRetentionMethod(bool s)
void SetScaleInputs(float f1, float f2)
EmPhysicsFactory f1
static QCString * s
Definition: config.cpp:1042
void SetScaleFirstInput(float f1)