Changeset 764 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 04/23/01 15:12:45 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc
r749 r764 41 41 ClassImp(MRawRunHeader) 42 42 43 // -------------------------------------------------------------------------- 44 // 45 // Default constructor. Creates array which stores the pixel assignment. 46 // 47 // 43 48 MRawRunHeader::MRawRunHeader(const char *name, const char *title) : fPixAssignment(NULL) 44 49 { … … 52 57 } 53 58 59 // -------------------------------------------------------------------------- 60 // 61 // Destructor. Deletes the 'pixel-assignment-array' 62 // 54 63 MRawRunHeader::~MRawRunHeader() 55 64 { … … 57 66 } 58 67 68 // -------------------------------------------------------------------------- 69 // 70 // Read in one run header from the binary file 71 // 59 72 void MRawRunHeader::ReadEvt(istream& fin) 60 73 { … … 106 119 } 107 120 121 // -------------------------------------------------------------------------- 122 // 123 // print run header information on *fLog 124 // 108 125 void MRawRunHeader::Print(Option_t *t) 109 126 { 110 //111 // print run header information on screen112 //113 127 *fLog << endl; 114 128 *fLog << "MagicNumber: 0x" << hex << fMagicNumber << " - " << (fMagicNumber==kMagicNumber?"OK":"Wrong!") << endl; … … 145 159 } 146 160 161 // -------------------------------------------------------------------------- 162 // 163 // Return the assigned pixel number for the given FADC channel 164 // 147 165 UShort_t MRawRunHeader::GetPixAssignment(UShort_t i) const 148 166 { … … 151 169 } 152 170 171 // -------------------------------------------------------------------------- 172 // 173 // return the number of pixel in this event. 174 // 153 175 UShort_t MRawRunHeader::GetNumPixel() const 154 176 {
Note:
See TracChangeset
for help on using the changeset viewer.