#include <TLorentzVector.h>
#include <TH2.h>
#include <TList.h>
-#include <TString.h>
//---- AliRoot system ----
#include "AliNeutralMesonSelection.h"
//_________________________________________________________________
Bool_t AliNeutralMesonSelection::SelectPair(TLorentzVector gammai,
TLorentzVector gammaj,
- TString calo)
+ Int_t calo)
{
//Search for the neutral pion within selection cuts
Float_t invmassRightBandMinCut = fRightBandMinCut;
Float_t invmassRightBandMixCut = fRightBandMaxCut;
- if(calo=="EMCAL" && e > 6.)
+ // kEMCAL=0, kPHOS=1
+ if(calo==0 && e > 6.)
{ // for EMCAL, pi0s, mass depends strongly with energy for e > 6, loose max cut
invmassmaxcut = (fInvMassMaxCutParam[0]+fInvMassMaxCut)+fInvMassMaxCutParam[1]*e+fInvMassMaxCutParam[2]*e*e;
class TLorentzVector ;
class TList ;
class TH2F ;
-class TString ;
class AliNeutralMesonSelection : public TObject {
Bool_t AreNeutralMesonSelectionHistosKept() const { return fKeepNeutralMesonHistos ; }
void KeepNeutralMesonSelectionHistos(Bool_t keep) { fKeepNeutralMesonHistos = keep ; }
- Bool_t SelectPair(TLorentzVector particlei, TLorentzVector particlej, TString calo) ;
+ Bool_t SelectPair(TLorentzVector particlei, TLorentzVector particlej, Int_t calo) ;
void SetParticle(TString particleName) ; // Do some default settings for "Pi0" or "Eta"
TString GetParticle() const { return fParticle ; }