Example #1
0
AliGenerator* JPsiPbPb()
{
    AliGenParam *jpsiPbPb = new AliGenParam(1, AliGenMUONlib::kJpsi,"CDF PbPb 3.94");
    jpsiPbPb->SetMomentumRange(0,999);
    jpsiPbPb->SetPtRange(0,50.);
    jpsiPbPb->SetYRange(-4.5,-2.);
    jpsiPbPb->SetPhiRange(0., 360.);
    jpsiPbPb->SetCutOnChild(1);
    jpsiPbPb->SetChildPhiRange(0.,360.);
    jpsiPbPb->SetChildThetaRange(0.,180.);
    jpsiPbPb->SetForceDecay(kDiMuon);
    jpsiPbPb->SetTrackingFlag(1);

    return jpsiPbPb; 
}
Example #2
0
AliGenerator* FlatJPsi()
{
    AliGenParam *flatjpsi = new AliGenParam(1, AliGenMUONlib::kJpsi,"Flat");
    flatjpsi->SetMomentumRange(0,999);
    flatjpsi->SetPtRange(0,20.);
    flatjpsi->SetYRange(-4.2,-2.3);
    flatjpsi->SetPhiRange(0., 360.);
    flatjpsi->SetCutOnChild(1);
    flatjpsi->SetChildPhiRange(0.,360.);
    flatjpsi->SetChildThetaRange(0.,180.);
    flatjpsi->SetForceDecay(kDiMuon);
    flatjpsi->SetTrackingFlag(1);

    return flatjpsi;
}