Re: Still can't get bb vertex

From: Stephen J. Sanders (ssanders@ku.edu)
Date: Fri Oct 26 2001 - 15:52:43 EDT

  • Next message: Stephen J. Sanders: "Re: Still can't get bb vertex"

    Hi Djamel and Christian,  
    
    Following Djamel's  template I've  gotten  further along.  Next
    question,  can you see what is wrong with the following:
    
          BrEventNode * bbHitNode = new BrEventNode("bbHit","bbHit");
          dbMod->Event(nextevent, nextevent);
          bbHits->Event(nextevent, bbHitNode);
          bbVtx->Event(bbHitNode,bbHitNode);
          bbVtxRdo = (BrBbVertex *) bbHitNode->GetObject("BB Vertex");
          cout<<" BB Vertex RDO: "<<bbVtxRdo<<endl;
          Float_t bbZ2 = (Float_t) bbVtxRdo->GetZ0();
          ntup->FillNtuple(3, bbZ2);
          delete bbHitNode;
    
     From the print statement I see that I'm not getting back
    a BrBbVertex:
    
       BB Vertex RDO: (nil)
    
    Also, should I be worried about all of the parameters that are recorded as
    "not set"? :
    
    
    GetDetectorParams Request
     BrBbCalibration : BBL
     Adding BrBbCalibration for BBL
    GetDetectorParams Request
     BrBbCalibration : BBR
     Adding BrBbCalibration for BBR
     Parameter:        pedestal
       Data size:      0
       Access mode:    read
       Parameter :     not set
       Revision :      not set
     Parameter:        pedestalWidth
       Data size:      0
       Access mode:    read
       Parameter :     not set
       Revision :      not set
     Parameter:        adcGain0
       Data size:      0
       Access mode:    read
       Parameter :     not set
       Revision :      not set
     Parameter:        tdcGain
       Data size:      0
       Access mode:    read
       Parameter :     not set
       Revision :      not set
     Parameter:        adcGapStart
    
    ...and so on...
    
    Christain,  I promise I'll try to rework the calibration code into 
    "standard"
    brat format after the current rush to publish is over.  I'm still not sure
    everything that I want to do is going to map transparently into the module
    structure.  However, my highest priority at the moment is to rework the
    si/tile calibrations using a corrected vertex:  this is needed for the final
    figures for the paper.
    
    ...steve
    



    This archive was generated by hypermail 2b30 : Fri Oct 26 2001 - 16:08:03 EDT