fkSelectCentrality (kFALSE),
fCentSel_Low(0.0),
fCentSel_High(0.0),
+fLowPtCutoff(0.0),
//------------------------------------------------
// Tree Variables
//------------------------------------------------
fkSelectCentrality (kFALSE),
fCentSel_Low(0.0),
fCentSel_High(0.0),
+fLowPtCutoff(0.0),
//------------------------------------------------
// Tree Variables
//------------------------------------------------
if( (fTreeCascVarMassAsXi<1.32+0.075&&fTreeCascVarMassAsXi>1.32-0.075) ||
(fTreeCascVarMassAsOmega<1.68+0.075&&fTreeCascVarMassAsOmega>1.68-0.075) ){
- fTreeCascade->Fill();
+
+ if( !fkIsNuclear ) fTreeCascade->Fill();
+ if( fkIsNuclear ){
+ //Extra selections in case this is a nuclear collision...
+ if (TMath::Abs(fTreeCascVarNegEta) < 0.8 &&
+ TMath::Abs(fTreeCascVarPosEta) < 0.8 &&
+ TMath::Abs(fTreeCascVarBachEta) < 0.8 &&
+ fTreeCascVarPt > fLowPtCutoff){ //beware ptMC and ptreco differences
+ fTreeCascade->Fill();
+ }
+ }
+
+
}
//------------------------------------------------
fCentSel_High = lCentSelHigh;
}
//---------------------------------------------------------------------------------------
-//Setters for the V0 Vertexer Parameters
+ void SetLowPtCutoff ( Double_t lLowPtCutoff = 1.0) {
+ fLowPtCutoff = lLowPtCutoff;
+ }
+ //---------------------------------------------------------------------------------------
+ //Setters for the V0 Vertexer Parameters
void SetV0VertexerMaxChisquare ( Double_t lParameter ){ fV0VertexerSels[0] = lParameter; }
void SetV0VertexerDCAFirstToPV ( Double_t lParameter ){ fV0VertexerSels[1] = lParameter; }
void SetV0VertexerDCASecondtoPV ( Double_t lParameter ){ fV0VertexerSels[2] = lParameter; }
Double_t fCentSel_Low;
Double_t fCentSel_High;
+
+ Double_t fLowPtCutoff; //Reduction of data volume
//Double_t fV0Sels[7]; // Array to store the 7 values for the different selections V0 related
//Double_t fCascSels[8]; // Array to store the 8 values for the different selections Casc. related
fkSelectCentrality (kFALSE),
fCentSel_Low(0.0),
fCentSel_High(0.0),
+fLowPtCutoff(0.0),
//------------------------------------------------
// Tree Variables
//------------------------------------------------
fkSelectCentrality (kFALSE),
fCentSel_Low(0.0),
fCentSel_High(0.0),
+fLowPtCutoff(0.0),
//------------------------------------------------
// Tree Variables
//------------------------------------------------
//Xi Mass window: 150MeV wide
//Omega mass window: 150MeV wide
- if( (fTreeCascVarMassAsXi<1.32+0.075&&fTreeCascVarMassAsXi>1.32-0.075) ||
- (fTreeCascVarMassAsOmega<1.68+0.075&&fTreeCascVarMassAsOmega>1.68-0.075) ){
- fTreeCascade->Fill();
- }
+ if( (fTreeCascVarMassAsXi<1.32+0.075&&fTreeCascVarMassAsXi>1.32-0.075) ||
+ (fTreeCascVarMassAsOmega<1.68+0.075&&fTreeCascVarMassAsOmega>1.68-0.075) ){
+
+ if( !fkIsNuclear ) fTreeCascade->Fill();
+ if( fkIsNuclear ){
+ //Extra selections in case this is a nuclear collision...
+ if (TMath::Abs(fTreeCascVarNegEta) < 0.8 &&
+ TMath::Abs(fTreeCascVarPosEta) < 0.8 &&
+ TMath::Abs(fTreeCascVarBachEta) < 0.8 &&
+ fTreeCascVarPt > fLowPtCutoff){ //beware ptMC and ptreco differences
+ fTreeCascade->Fill();
+ }
+ }
+ }
//------------------------------------------------
// Fill tree over.
fCentSel_High = lCentSelHigh;
}
//---------------------------------------------------------------------------------------
+ void SetLowPtCutoff ( Double_t lLowPtCutoff = 1.0) {
+ fLowPtCutoff = lLowPtCutoff;
+ }
+ //---------------------------------------------------------------------------------------
private:
// Note : In ROOT, "//!" means "do not stream the data from Master node to Worker node" ...
Bool_t fkSelectCentrality; //Switch to skip anything other than 60-80% V0M
Double_t fCentSel_Low;
Double_t fCentSel_High;
+ Double_t fLowPtCutoff; //Reduction of data volume
//Double_t fV0Sels[7]; // Array to store the 7 values for the different selections V0 related
//Double_t fCascSels[8]; // Array to store the 8 values for the different selections Casc. related