msgbartop
msgbarbottom

27 jan 12 Some CERN ROOT stuff

  • Find the maximum x abscissa of a variable from a tuple:
  • Sampler0->Draw("E") (event if there is no display)
    double *b = Sampler0->GetV1()
    TMath::MaxElement(#entries,b)
  • You have a 3D histo and you are looking at which bins correspond the global bin N :
  • int x,y,z ; 
    histo->GetBinXYZ(N,x,y,z)


    Leave a Comment

    Switch to our mobile site