10#include "TwoTrackRapidityCut.h"
15 TwoTrackRapidityCut::TwoTrackRapidityCut() : TwoTrackCut(1) { SetUnitName(
"Y_{pair}"); }
17 Bool_t TwoTrackRapidityCut::Pass(
TwoTrack* pair) {
22 if (pair->
GetPairType() == TwoTrack::kHemishpere) { pz2 = -pz2; }
23 Double_t Y = 0.5 * TMath::Log((e1 + e2 + pz1 + pz2) / (e1 + e2 - pz1 - pz2));
28 TwoTrackRapidityCut::~TwoTrackRapidityCut() {
PairType GetPairType() const
Track * GetTrack1() const
Track * GetTrack2() const