Changeset 9157 for trunk/MagicSoft/Mars/mtrigger
- Timestamp:
- 11/12/08 16:16:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtrigger/MTriggerPattern.cc
r8898 r9157 133 133 #include "MTriggerPattern.h" 134 134 135 #include "MLog.h" 136 #include "MLogManip.h" 137 135 138 ClassImp(MTriggerPattern); 136 139 … … 147 150 fTitle = title ? title : "Container for decoded trigger pattern"; 148 151 } 152 153 void MTriggerPattern::Print(Option_t *) const 154 { 155 *fLog << all; 156 *fLog << "Trigger Pattern (un/prescaled): "; 157 158 if (fUnprescaled&kPedestal) 159 *fLog << "P"; 160 if (fUnprescaled&kCalibration) 161 *fLog << "C"; 162 if (fUnprescaled&kTriggerLvl1) 163 *fLog << "1"; 164 if (fUnprescaled&kTriggerLvl2) 165 *fLog << "2"; 166 if (fUnprescaled&kSumTrigger) 167 *fLog << "S"; 168 if (fUnprescaled&kPinDiode) 169 *fLog << "-"; 170 *fLog << "/"; 171 if (fPrescaled&kPedestal) 172 *fLog << "P"; 173 if (fPrescaled&kCalibration) 174 *fLog << "C"; 175 if (fPrescaled&kTriggerLvl1) 176 *fLog << "1"; 177 if (fPrescaled&kTriggerLvl2) 178 *fLog << "2"; 179 if (fPrescaled&kSumTrigger) 180 *fLog << "S"; 181 if (fPrescaled&kPinDiode) 182 *fLog << "-"; 183 *fLog << endl; 184 }
Note:
See TracChangeset
for help on using the changeset viewer.