示例#1
0
文件: TArrayL64.cpp 项目: cjpl/rome
//_______________________________________________________________________
void TArrayL64::Streamer(TBuffer &b)
{
    // Stream a TArrayL64 object.

    if (b.IsReading()) {
        Int_t n;
        b >> n;
        Set(n);
        b.ReadFastArray(fArray,n);
    } else {
示例#2
0
void KVCalibrator::Streamer(TBuffer & R__b)
{
   // Stream an object of class KVCalibrator.
   //customised in case no parameters are initialised (fPar null pointer)

   UInt_t R__s, R__c;
   if (R__b.IsReading()) {
      Version_t R__v = R__b.ReadVersion(&R__s, &R__c);
      if (R__v) {
      }
      KVBase::Streamer(R__b);
      R__b >> fParamNumber;
      if (fPar) {
         delete[]fPar;
         fPar = 0;
      }
      if (fParamNumber) {
         fPar = new Double_t[fParamNumber];
         R__b.ReadFastArray(fPar, fParamNumber);
      }
      R__b >> fDetector;
      R__b >> fReady;
      R__b.CheckByteCount(R__s, R__c, KVCalibrator::IsA());
   } else {