FACT++  1.0
void FTM::StaticData::print ( std::ostream &  out) const

Definition at line 118 of file HeadersFTM.cc.

References fActiveFTU, fBoard, fClockConditioner, fDeadTime, fDelayTimeMarker, fDelayTrigger, fEnableLPext, fEnableLPint, fGeneralSettings, fIntensityLPext, fIntensityLPint, fMultiplicityCalib, fMultiplicityPhysics, fStatusLEDs, fTriggerInterval, fTriggerSequence, fWindowCalib, fWindowPhysics, i, IsEnabled(), kClockConditioner, kExt1, kExt2, kGroup1, kGroup2, kLPext, kLPint, kPedestal, kTrigger, and kVeto.

Referenced by FTM::operator<<().

119 {
120  out << std::hex;
121  out << "General settings: ";
122  if (IsEnabled(kTrigger))
123  out << " Trigger";
124  if (IsEnabled(kPedestal))
125  out << " Pedestal";
126  if (IsEnabled(kLPint))
127  out << " LPint";
128  if (IsEnabled(kLPext))
129  out << " LPext";
130  if (IsEnabled(kExt1))
131  out << " Ext1";
132  if (IsEnabled(kExt2))
133  out << " Ext2";
134  if (IsEnabled(kVeto))
135  out << " Veto";
137  out << " ClockCond";
138  out << " (" << fGeneralSettings << ")" << endl;
139  out << "Status LEDs: " << fStatusLEDs << endl;
140  out << std::dec;
141  out << "TriggerInterval: " << fTriggerInterval << " ms" << endl;
142  out << "TriggerSequence: ";
143  out << (fTriggerSequence &0x1f) << ":";
144  out << ((fTriggerSequence>> 5)&0x1f) << ":";
145  out << ((fTriggerSequence>>10)&0x1f) << " (LPint:LPext:PED)" << endl;
146  out << "Coinc. physics: " << std::setw(2) << fMultiplicityPhysics << "/N ";
147  out << fWindowPhysics*4+8 << "ns" << endl;
148  out << "Coinc. calib: " << std::setw(2) << fMultiplicityCalib << "/N ";
149  out << fWindowCalib*4+8 << "ns" << endl;
150  out << "Trigger delay: " << fDelayTrigger*4+8 << "ns" << endl;
151  out << "Time marker delay: " << fDelayTimeMarker*4+8 << "ns" << endl;
152  out << "Dead time: " << fDeadTime*4+8 << "ns" << endl;
153  out << "Light pulser (int): " << dec << (int)fIntensityLPint;
154  if (fEnableLPint&kGroup1)
155  out << " + Group1";
156  if (fEnableLPint&kGroup2)
157  out << " + Group2";
158  out << endl;
159  out << "Light pulser (ext): " << dec << (int)fIntensityLPext;
160  if (fEnableLPext&kGroup1)
161  out << " + Group1";
162  if (fEnableLPext&kGroup2)
163  out << " + Group2";
164  out << endl;
165  out << "Clock conditioner:";
166  out << std::hex << setfill('0');
167  for (int i=0; i<8; i++)
168  out << " " << setw(8) << fClockConditioner[i];
169  out << endl;
170  out << "Active FTUs: ";
171  out << fActiveFTU[0] << " ";
172  out << fActiveFTU[1] << " ";
173  out << fActiveFTU[2] << " ";
174  out << fActiveFTU[3] << endl;
175  out << std::dec;
176 
177  for (int c=0; c<4; c++)
178  for (int b=0; b<10; b++)
179  {
180  out << ' ' << c << ':' << std::setfill('0') << std::setw(2) << b << ": ";
181  out << fBoard[c][b];
182  }
183 }
StaticDataBoard fBoard[4][10]
Definition: HeadersFTM.h:236
uint16_t fWindowCalib
(4ns * x + 8ns) At least N (multiplicity) rising edges (trigger signal) within this window ...
Definition: HeadersFTM.h:233
uint16_t fTriggerInterval
only 8 bit used
Definition: HeadersFTM.h:219
uint8_t fEnableLPext
Intensity of LEDs (0-127)
Definition: HeadersFTM.h:222
uint16_t fTriggerSequence
[ms] Interval between two artificial triggers (no matter which type) minimum 1ms, 10 bit ...
Definition: HeadersFTM.h:220
External trigger signal 2.
Definition: HeadersFTM.h:205
int i
Definition: db_dim_client.c:21
uint16_t fMultiplicityPhysics
Definition: HeadersFTM.h:226
uint16_t fActiveFTU[4]
Definition: HeadersFTM.h:238
uint16_t fGeneralSettings
Definition: HeadersFTM.h:217
Select clock conditioner frequency (1) / time marker (0) as output.
Definition: HeadersFTM.h:208
uint16_t fDeadTime
(4ns * x + 8ns) FTM internal programmable delay between trigger descision and time marker output ...
Definition: HeadersFTM.h:230
uint32_t fClockConditioner[8]
(4ns * x + 8ns) FTM internal programmable dead time after trigger decision
Definition: HeadersFTM.h:231
uint16_t fStatusLEDs
Enable for different trigger types / select for TIM/ClockConditioner output (only 8 bit used) ...
Definition: HeadersFTM.h:218
External trigger signal 1.
Definition: HeadersFTM.h:206
uint8_t fIntensityLPint
Enable for LED group 1/2 (LightPulserEnable)
Definition: HeadersFTM.h:223
Enable trigger decision after light pulse (CalibrationTrigger, LP1)
Definition: HeadersFTM.h:204
Enable artificial trigger after light pulse (LP2)
Definition: HeadersFTM.h:203
Pedestal trigger (artifical)
Definition: HeadersFTM.h:202
uint16_t fWindowPhysics
R0, R1, R8, R9, R11, R13, R14, R15.
Definition: HeadersFTM.h:232
uint16_t fMultiplicityCalib
Required trigger multiplicity for physcis triggers (0-40)
Definition: HeadersFTM.h:227
bool IsEnabled(GeneralSettings type) const
Definition: HeadersFTM.h:306
Veto trigger decision / artifical triggers.
Definition: HeadersFTM.h:207
uint16_t fDelayTimeMarker
(4ns * x + 8ns) FTM internal programmable delay between trigger decision and output ...
Definition: HeadersFTM.h:229
uint16_t fDelayTrigger
Required trigger multiplicity calibration (LPext) triggers (0-40)
Definition: HeadersFTM.h:228
uint8_t fIntensityLPext
Ratio between trigger types send as artificial trigger (in this order) 3x5bit.
Definition: HeadersFTM.h:221
Physics trigger decision (PhysicTrigger)
Definition: HeadersFTM.h:201
uint8_t fEnableLPint
Intensity of LEDs (0-127)
Definition: HeadersFTM.h:224

+ Here is the call graph for this function:

+ Here is the caller graph for this function: