msgbartop
msgbarbottom

27 jan 12 Some CERN ROOT stuff

  • Find the maximum x abscissa of a variable from a tuple:
  • ntuple->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 in which bin the value XXX appears do :
  • int x,y,z ; 
    histo->GetBinXYZ(XXX,x,y,z)


    Leave a Comment