~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

Viewing changes to src/common_cpp/Recon/SciFi/RealDataDigitization.hh

  • Committer: Durga Rajaram
  • Date: 2014-07-16 15:13:05 UTC
  • mfrom: (659.1.92 cand)
  • Revision ID: durga@fnal.gov-20140716151305-q27rv1y9p03v9lks
Tags: MAUS-v0.9, MAUS-v0.9.0
MAUS-v0.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
   */
71
71
  void process(Spill *spill, Json::Value const &input_event);
72
72
 
 
73
  /** @brief Reads the VLSB data
 
74
   *  @params input_event The JSON input vlsb event to be processed.
 
75
   *  @params event The SciFiEvent to be filled.
 
76
   *  @params TrackerDaq The TrackerDaq object to be created for T0.
 
77
   *  @params TrackerDaq The TrackerDaq object to be created for T1.
 
78
   */
73
79
  void process_VLSB(Json::Value input_event,
74
80
                      SciFiEvent* event,
75
81
                      TrackerDaq *tracker0daq_event,
76
82
                      TrackerDaq *tracker1daq_event);
77
83
 
 
84
  /** @brief Reads the VLSB data in the cosmic run format
 
85
   *  @params input_event The JSON input vlsb event to be processed.
 
86
   *  @params event The SciFiEvent to be filled.
 
87
   *  @params TrackerDaq The TrackerDaq object to be created for T0.
 
88
   *  @params TrackerDaq The TrackerDaq object to be created for T1.
 
89
   */
78
90
  void process_VLSB_c(Json::Value input_event,
79
91
                      SciFiEvent* event,
80
92
                      TrackerDaq *tracker0daq_event,
102
114
   */
103
115
  bool is_good_channel(int bank, int chan_ro) const;
104
116
 
105
 
  // int get_calibration_unique_chan_numb(int bank, int chan) const {
106
 
  //                                 return _calibration_unique_chan_number[board][bank][chan]; }
107
 
 
108
117
 private:
109
118
  static const int _number_channels       = 128;
110
119
  static const int _number_banks          = 64;
113
122
  static const double _min       = 0.000000001;
114
123
 
115
124
  /// Arrays containing calibration values for every channel in the 4 banks of the 16 boards.
116
 
  Json::Value calibration_[_number_banks][_number_channels];
 
125
  Json::Value _calibration[_number_banks][_number_channels];
117
126
  /// This is an array storing the goodness of each channel.
118
127
  bool _good_chan[_number_banks][_number_channels];
119
128