InitParameters();
}
-//____________________________________________________________________________________________________________________________
+//______________________________________________________________________________________________________________________
void AliAnaCalorimeterQA::BadClusterHistograms(AliVCluster* clus, const TObjArray *caloClusters, AliVCaloCells * cells,
- const Int_t absIdMax, const Double_t maxCellFraction, const Float_t eCrossFrac,
- const Double_t tmax, Double_t timeAverages[2]
- )
+ Int_t absIdMax, Double_t maxCellFraction, Float_t eCrossFrac,
+ Double_t tmax, Double_t timeAverages[2] )
{
//Bad cluster histograms
}
//___________________________________________________________________________________________
-void AliAnaCalorimeterQA::ClusterAsymmetryHistograms(AliVCluster* clus, const Int_t absIdMax,
- const Bool_t goodCluster)
+void AliAnaCalorimeterQA::ClusterAsymmetryHistograms(AliVCluster* clus, Int_t absIdMax,
+ Bool_t goodCluster)
{
// Study the shape of the cluster in cell units terms
}
}
-//_________________________________________________________________________________________________________________________
-void AliAnaCalorimeterQA::ClusterHistograms(AliVCluster* clus,const TObjArray *caloClusters, AliVCaloCells * cells,
- const Int_t absIdMax, const Double_t maxCellFraction, const Float_t eCrossFrac,
- const Double_t tmax, Double_t timeAverages[2])
+//__________________________________________________________________________________________________________________
+void AliAnaCalorimeterQA::ClusterHistograms(AliVCluster* clus, const TObjArray *caloClusters, AliVCaloCells * cells,
+ Int_t absIdMax, Double_t maxCellFraction, Float_t eCrossFrac,
+ Double_t tmax, Double_t timeAverages[2])
{
//Fill CaloCluster related histograms
}
-//______________________________________________________________________________________________________
-Bool_t AliAnaCalorimeterQA::ClusterMCHistograms(const TLorentzVector mom, const Bool_t matched,
- const Int_t * labels, const Int_t nLabels, Int_t & pdg )
+//__________________________________________________________________________________________
+Bool_t AliAnaCalorimeterQA::ClusterMCHistograms(TLorentzVector mom, Bool_t matched,
+ const Int_t * labels, Int_t nLabels, Int_t & pdg )
{
//Fill histograms only possible when simulation
//________________________________________________________________________________________________
void AliAnaCalorimeterQA::ClusterMatchedWithTrackHistograms(AliVCluster *clus, TLorentzVector mom,
- const Bool_t okPrimary, const Int_t pdg)
+ Bool_t okPrimary, Int_t pdg)
{
//Histograms for clusters matched with tracks
return new TObjString(parList) ;
}
-//___________________________________________________________________________________
-void AliAnaCalorimeterQA::ExoticHistograms(const Int_t absIdMax, const Float_t ampMax,
+//_________________________________________________________________________________
+void AliAnaCalorimeterQA::ExoticHistograms(Int_t absIdMax, Float_t ampMax,
AliVCluster *clus, AliVCaloCells* cells)
{
// Calculate weights
return outputContainer;
}
-//__________________________________________________________________________________________________
-Float_t AliAnaCalorimeterQA::GetECross(const Int_t absID, AliVCaloCells* cells, const Float_t dtcut)
+//______________________________________________________________________________________
+Float_t AliAnaCalorimeterQA::GetECross(Int_t absID, AliVCaloCells* cells, Float_t dtcut)
{
// Get energy in cross axis around maximum cell, for EMCAL only
}
//__________________________________________________________________________________________________
-void AliAnaCalorimeterQA::InvariantMassHistograms(const Int_t iclus, const TLorentzVector mom,
- const Int_t nModule, const TObjArray* caloClusters,
+void AliAnaCalorimeterQA::InvariantMassHistograms(Int_t iclus, TLorentzVector mom,
+ Int_t nModule, const TObjArray* caloClusters,
AliVCaloCells * cells)
{
// Fill Invariant mass histograms
}
-//___________________________________________________________________________________
-Bool_t AliAnaCalorimeterQA::IsGoodCluster(const Int_t absIdMax, AliVCaloCells* cells)
+//_____________________________________________________________________________
+Bool_t AliAnaCalorimeterQA::IsGoodCluster(Int_t absIdMax, AliVCaloCells* cells)
{
//Identify cluster as exotic or not
}
//_______________________________________________________________________________
-void AliAnaCalorimeterQA::MCHistograms(const TLorentzVector mom, const Int_t pdg)
+void AliAnaCalorimeterQA::MCHistograms(TLorentzVector mom, Int_t pdg)
{
//Fill pure monte carlo related histograms
// Main methods
- void BadClusterHistograms(AliVCluster* clus, const TObjArray *caloClusters, AliVCaloCells * cells,
- const Int_t absIdMax, const Double_t maxCellFraction, const Float_t eCrossFrac,
- const Double_t tmax, Double_t timeAverages[2]);
+ void BadClusterHistograms(AliVCluster* clus, const TObjArray *caloClusters, AliVCaloCells * cells,
+ Int_t absIdMax, Double_t maxCellFraction, Float_t eCrossFrac,
+ Double_t tmax, Double_t timeAverages[2]);
void CalculateAverageTime(AliVCluster *clus, AliVCaloCells *cells, Double_t timeAverages[2]);
void CellInClusterPositionHistograms(AliVCluster* cluster);
- void ClusterAsymmetryHistograms(AliVCluster* clus, const Int_t absIdMax, const Bool_t goodCluster );
+ void ClusterAsymmetryHistograms(AliVCluster* clus, Int_t absIdMax, const Bool_t goodCluster );
void ClusterHistograms(AliVCluster* cluster, const TObjArray *caloClusters, AliVCaloCells * cells,
- const Int_t absIdMax, const Double_t maxCellFraction, const Float_t eCrossFrac,
- const Double_t tmax, Double_t timeAverages[2]);
+ Int_t absIdMax, Double_t maxCellFraction, Float_t eCrossFrac,
+ Double_t tmax, Double_t timeAverages[2]);
void ClusterLoopHistograms(const TObjArray * clusters, AliVCaloCells * cells);
- Bool_t ClusterMCHistograms(const TLorentzVector mom,const Bool_t matched,
- const Int_t * labels, const Int_t nLabels, Int_t & pdg );
+ Bool_t ClusterMCHistograms(TLorentzVector mom, Bool_t matched,
+ const Int_t * labels, Int_t nLabels, Int_t & pdg );
void ClusterMatchedWithTrackHistograms(AliVCluster* clus, TLorentzVector mom,
- const Bool_t mcOK, const Int_t pdg);
+ Bool_t mcOK, Int_t pdg);
void Correlate();
- void ExoticHistograms(const Int_t absIdMax, const Float_t ampMax,
+ void ExoticHistograms(Int_t absIdMax, Float_t ampMax,
AliVCluster *clus, AliVCaloCells* cells);
- Float_t GetECross(const Int_t absId, AliVCaloCells* cells,const Float_t dtcut = 10000);
+ Float_t GetECross(Int_t absId, AliVCaloCells* cells,Float_t dtcut = 10000);
- void InvariantMassHistograms(const Int_t iclus, const TLorentzVector mom, const Int_t nModule,
+ void InvariantMassHistograms(Int_t iclus, TLorentzVector mom, Int_t nModule,
const TObjArray* caloClusters, AliVCaloCells * cells);
- Bool_t IsGoodCluster(const Int_t absIdMax, AliVCaloCells *cells);
+ Bool_t IsGoodCluster(Int_t absIdMax, AliVCaloCells *cells);
void MCHistograms();
- void MCHistograms(const TLorentzVector mom, const Int_t pdg);
+ void MCHistograms(const TLorentzVector mom, Int_t pdg);
void WeightHistograms(AliVCluster *clus, AliVCaloCells* cells);
}
-//__________________________________________________________________________________________________________
-void AliAnaElectron::FillShowerShapeHistograms(AliVCluster* cluster, const Int_t mcTag, const Int_t pidTag)
+//______________________________________________________________________________________________
+void AliAnaElectron::FillShowerShapeHistograms(AliVCluster* cluster, Int_t mcTag, Int_t pidTag)
{
//Fill cluster Shower Shape histograms
Bool_t ClusterSelected(AliVCluster* cl, TLorentzVector mom, Int_t nMaxima) ;
- void FillShowerShapeHistograms( AliVCluster* cluster, const Int_t mcTag , const Int_t pidTag) ;
+ void FillShowerShapeHistograms( AliVCluster* cluster, Int_t mcTag , Int_t pidTag) ;
void SwitchOnFillShowerShapeHistograms() { fFillSSHistograms = kTRUE ; }
void SwitchOffFillShowerShapeHistograms() { fFillSSHistograms = kFALSE ; }
}
-//_______________________________________________________________________________
-Bool_t AliAnaGeneratorKine::CorrelateWithPartonOrJet(const TLorentzVector trigger,
- const Int_t indexTrig,
- const Int_t pdgTrig,
- const Bool_t leading[4],
- const Bool_t isolated[4],
+//___________________________________________________________________________
+Bool_t AliAnaGeneratorKine::CorrelateWithPartonOrJet(TLorentzVector trigger,
+ Int_t indexTrig,
+ Int_t pdgTrig,
+ Bool_t leading[4],
+ Bool_t isolated[4],
Int_t & iparton )
{
//Correlate trigger with partons or jets, get z
}
-//___________________________________________________________
-void AliAnaGeneratorKine::GetXE(const TLorentzVector trigger,
- const Int_t indexTrig,
- const Int_t pdgTrig,
- const Bool_t leading[4],
- const Bool_t isolated[4],
- const Int_t iparton)
+//_____________________________________________________
+void AliAnaGeneratorKine::GetXE(TLorentzVector trigger,
+ Int_t indexTrig,
+ Int_t pdgTrig,
+ Bool_t leading[4],
+ Bool_t isolated[4],
+ Int_t iparton)
{
// Calculate the real XE and the UE XE
}
-//___________________________________________________________________________
-void AliAnaGeneratorKine::IsLeadingAndIsolated(const TLorentzVector trigger,
- const Int_t indexTrig,
- const Int_t pdgTrig,
+//_____________________________________________________________________
+void AliAnaGeneratorKine::IsLeadingAndIsolated(TLorentzVector trigger,
+ Int_t indexTrig,
+ Int_t pdgTrig,
Bool_t leading[4],
Bool_t isolated[4])
{
AliAnaGeneratorKine() ; // default ctor
virtual ~AliAnaGeneratorKine() { ; } //virtual dtor
- Bool_t CorrelateWithPartonOrJet(const TLorentzVector trigger,
- const Int_t indexTrig,
- const Int_t pdgTrig,
- const Bool_t leading[4],
- const Bool_t isolated[4],
+ Bool_t CorrelateWithPartonOrJet(TLorentzVector trigger,
+ Int_t indexTrig,
+ Int_t pdgTrig,
+ Bool_t leading[4],
+ Bool_t isolated[4],
Int_t & iparton) ;
TList * GetCreateOutputObjects() ;
void GetPartonsAndJets() ;
- void GetXE(const TLorentzVector trigger,
- const Int_t indexTrig,
- const Int_t pdgTrig,
- const Bool_t leading[4],
- const Bool_t isolated[4],
- const Int_t iparton) ;
+ void GetXE(TLorentzVector trigger,
+ Int_t indexTrig,
+ Int_t pdgTrig,
+ Bool_t leading[4],
+ Bool_t isolated[4],
+ Int_t iparton) ;
void InitParameters() ;
- void IsLeadingAndIsolated(const TLorentzVector trigger,
- const Int_t indexTrig,
- const Int_t pdgTrig,
+ void IsLeadingAndIsolated(TLorentzVector trigger,
+ Int_t indexTrig,
+ Int_t pdgTrig,
Bool_t leading[4],
Bool_t isolated[4]) ;
}
-//_______________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::CheckLocalMaximaMCOrigin(AliVCluster* cluster,const Int_t mcindex, const Int_t noverlaps,
- const Float_t e1, const Float_t e2, const Float_t mass)
+//___________________________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::CheckLocalMaximaMCOrigin(AliVCluster* cluster, Int_t mcindex, Int_t noverlaps,
+ Float_t e1, Float_t e2, Float_t mass)
//Float_t m02,
//TLorentzVector l1, TLorentzVector l2)
{
}
-//_____________________________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillAngleHistograms(const Int_t nMax, const Bool_t matched, const Int_t mcIndex,
- const Float_t en, const Float_t e1, const Float_t e2,
- const Float_t angle, const Float_t mass,
- const Float_t anglePrim, const Float_t m02,
- const Float_t asym, const Int_t pid, const Int_t noverlaps)
+//___________________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillAngleHistograms(Int_t nMax, Bool_t matched, Int_t mcIndex,
+ Float_t en, Float_t e1, Float_t e2,
+ Float_t angle, Float_t mass,
+ Float_t anglePrim, Float_t m02,
+ Float_t asym, Int_t pid, Int_t noverlaps)
{
// Fill histograms related to opening angle
}
//______________________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillArmenterosHistograms(const Int_t nMax, const Int_t ebin, const Int_t mcIndex,
- const Float_t en, TLorentzVector g1, TLorentzVector g2,
- const Float_t m02, const Int_t pid)
+void AliAnaInsideClusterInvariantMass::FillArmenterosHistograms(Int_t nMax, Int_t ebin, Int_t mcIndex,
+ Float_t en, TLorentzVector g1, TLorentzVector g2,
+ Float_t m02, Int_t pid)
{
// Fill Armeteros type histograms
}
-//______________________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillThetaStarHistograms(const Int_t nMax, const Bool_t matched, const Int_t mcIndex,
- const Float_t en, TLorentzVector g1, TLorentzVector g2,
- const Float_t m02, const Int_t pid)
+//______________________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillThetaStarHistograms(Int_t nMax, Bool_t matched, Int_t mcIndex,
+ Float_t en, TLorentzVector g1, TLorentzVector g2,
+ Float_t m02, Int_t pid)
{
// Fill cos Theta^star histograms
}
-//__________________________________________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillEBinHistograms(const Int_t ebin , const Int_t nMax, const Int_t mcindex,
- const Float_t splitFrac, const Float_t mass, const Float_t asym, const Float_t l0)
+//__________________________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillEBinHistograms(Int_t ebin , Int_t nMax, Int_t mcindex,
+ Float_t splitFrac, Float_t mass, Float_t asym, Float_t l0)
{
// Fill some histograms integrating in few energy bins
}
-//________________________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillHistograms1(const Float_t en, const Float_t e1, const Float_t e2,
- const Int_t nMax, const Float_t mass, const Float_t l0,
- const Float_t eta, const Float_t phi,
- const Bool_t matched, const Int_t mcindex)
+//________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillHistograms1(Float_t en, Float_t e1, Float_t e2,
+ Int_t nMax, Float_t mass, Float_t l0,
+ Float_t eta, Float_t phi,
+ Bool_t matched, Int_t mcindex)
{
// Fill histograms for clusters before any selection after spliting
}
-//________________________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillHistograms2(const Float_t en, const Float_t eprim,
- const Float_t e1, const Float_t e2,
- const Int_t nMax, const Float_t mass, const Float_t l0,
- const Bool_t matched, const Int_t mcindex)
+//________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillHistograms2(Float_t en, Float_t eprim,
+ Float_t e1, Float_t e2,
+ Int_t nMax, Float_t mass, Float_t l0,
+ Bool_t matched, Int_t mcindex)
{
// Fill histograms for clusters passing the first M02 selection
}
-//________________________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillIdPi0Histograms(const Float_t en, const Float_t e1, const Float_t e2,
- const Int_t nc, const Int_t nMax, const Float_t t12diff,
- const Float_t mass, const Float_t l0,
- const Float_t eta, const Float_t phi,
- const Bool_t matched, const Int_t mcindex)
+//_________________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillIdPi0Histograms(Float_t en, Float_t e1, Float_t e2,
+ Int_t nc, Int_t nMax, Float_t t12diff,
+ Float_t mass, Float_t l0,
+ Float_t eta, Float_t phi,
+ Bool_t matched, Int_t mcindex)
{
// Fill histograms for clusters passing the pi0 selection
}//Work with MC truth
}
-//________________________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillIdEtaHistograms(const Float_t en, const Float_t e1, const Float_t e2,
- const Int_t nc, const Int_t nMax, const Float_t t12diff,
- const Float_t mass, const Float_t l0,
- const Float_t eta, const Float_t phi,
- const Bool_t matched, const Int_t mcindex)
+//______________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillIdEtaHistograms(Float_t en, Float_t e1, Float_t e2,
+ Int_t nc, Int_t nMax, Float_t t12diff,
+ Float_t mass, Float_t l0,
+ Float_t eta, Float_t phi,
+ Bool_t matched, Int_t mcindex)
{
// Fill histograms for clusters passing the eta selection
}
-//_____________________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillIdConvHistograms(const Float_t en, const Int_t nMax, const Float_t asym,
- const Float_t mass, const Float_t l0,
- const Bool_t matched, const Int_t mcindex)
+//__________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillIdConvHistograms(Float_t en, Int_t nMax, Float_t asym,
+ Float_t mass, Float_t l0,
+ Bool_t matched, Int_t mcindex)
{
// Fill histograms for clusters passing the photon selection
}//Work with MC truth
}
-//_____________________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillMCHistograms(const Float_t en, const Float_t e1 , const Float_t e2,
- const Int_t ebin, const Int_t mcindex,const Int_t noverlaps,
- const Float_t l0, const Float_t mass,
- const Int_t nMax, const Bool_t matched,
- const Float_t splitFrac, const Float_t asym,
- const Float_t eprim, const Float_t asymGen)
+//_______________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillMCHistograms(Float_t en, Float_t e1 , Float_t e2,
+ Int_t ebin, Int_t mcindex,Int_t noverlaps,
+ Float_t l0, Float_t mass,
+ Int_t nMax, Bool_t matched,
+ Float_t splitFrac, Float_t asym,
+ Float_t eprim, Float_t asymGen)
{
// Fill histograms needing some MC input
}
}
-//__________________________________________________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillMCOverlapHistograms(const Float_t en, const Float_t enprim,
- const Int_t nc, const Float_t mass, const Float_t l0,
- const Float_t asym, const Float_t splitFrac,
- const Int_t inlm, const Int_t ebin, const Bool_t matched,
- const Int_t mcindex, const Int_t noverlaps)
+//__________________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillMCOverlapHistograms(Float_t en, Float_t enprim,
+ Int_t nc, Float_t mass, Float_t l0,
+ Float_t asym, Float_t splitFrac,
+ Int_t inlm, Int_t ebin, Bool_t matched,
+ Int_t mcindex, Int_t noverlaps)
{
// Fill histograms for MC Overlaps
}
-//__________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillNCellHistograms(const Int_t ncells, const Float_t energy, const Int_t nMax,
- const Bool_t matched, const Int_t mcindex,
- const Float_t mass , const Float_t l0)
+//_____________________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillNCellHistograms(Int_t ncells, Float_t energy, Int_t nMax,
+ Bool_t matched, Int_t mcindex,
+ Float_t mass , Float_t l0)
{
// Fill optional histograms with more SS parameters
}
}
-//______________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillSSExtraHistograms(AliVCluster *cluster, const Int_t nMax,
- const Bool_t matched, const Int_t mcindex,
- const Float_t mass , const Int_t ebin)
+//_____________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillSSExtraHistograms(AliVCluster *cluster, Int_t nMax,
+ Bool_t matched, Int_t mcindex,
+ Float_t mass , Int_t ebin)
{
// Fill optional histograms with more SS parameters
}
-//__________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillSSWeightHistograms(AliVCluster *clus, const Int_t nlm,
- const Int_t absId1, const Int_t absId2)
+//__________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillSSWeightHistograms(AliVCluster *clus, Int_t nlm,
+ Int_t absId1, Int_t absId2)
{
// Calculate weights and fill histograms
}// EMCAL
}
-//________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::FillTrackMatchingHistograms(AliVCluster * cluster, const Int_t nMax,
- const Int_t mcindex)
+//____________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::FillTrackMatchingHistograms(AliVCluster * cluster,
+ Int_t nMax, Int_t mcindex)
{
// Fill histograms related to track matching
{
//Save parameters used for analysis
TString parList ; //this will be list of parameters used for this analysis.
- const Int_t buffersize = 255;
+ Int_t buffersize = 255;
char onePar[buffersize] ;
snprintf(onePar,buffersize,"--- AliAnaInsideClusterInvariantMass ---\n") ;
}
-//______________________________________________________________________________________________________________
-void AliAnaInsideClusterInvariantMass::GetMCPrimaryKine(AliVCluster* cluster, const Int_t mcindex,
- const Int_t mctag, const Bool_t matched,
- Float_t & eprim, Float_t & asymGen, Float_t & angleGen, Int_t & noverlaps )
+//____________________________________________________________________________________________
+void AliAnaInsideClusterInvariantMass::GetMCPrimaryKine(AliVCluster* cluster, Int_t mcindex,
+ Int_t mctag, Bool_t matched,
+ Float_t & eprim, Float_t & asymGen,
+ Float_t & angleGen, Int_t & noverlaps )
{
// Check origin of the candidates, get primary kinematics if overlapped meson decay
AliAnaInsideClusterInvariantMass() ; // default ctor
virtual ~AliAnaInsideClusterInvariantMass() { ; } //virtual dtor
- void CheckLocalMaximaMCOrigin(AliVCluster* cluster, const Int_t mcindex, const Int_t noverlaps,
- const Float_t e1, const Float_t e2, const Float_t mass);
+ void CheckLocalMaximaMCOrigin(AliVCluster* cluster, Int_t mcindex, Int_t noverlaps,
+ Float_t e1, Float_t e2, Float_t mass);
//, Float_t m02, TLorentzVector l1, TLorentzVector l2);
TObjString * GetAnalysisCuts();
void GetMCIndex(AliVCluster * cluster, Int_t & mcindex, Int_t & mcTag);
- void GetMCPrimaryKine(AliVCluster* cluster, const Int_t mcindex, const Int_t mcTag, const Bool_t matched,
+ void GetMCPrimaryKine(AliVCluster* cluster, Int_t mcindex, Int_t mcTag, Bool_t matched,
Float_t & eprim, Float_t & asymGen, Float_t & angleGen, Int_t & noverlaps );
- void FillAngleHistograms(const Int_t nMax, const Bool_t matched, const Int_t mcindex,
- const Float_t en, const Float_t e1 , const Float_t e2,
- const Float_t angle, const Float_t mass, const Float_t anglePrim,
- const Float_t m02, const Float_t asym, const Int_t pid, const Int_t noverlaps);
-
- void FillArmenterosHistograms(const Int_t nMax, const Int_t ebin, const Int_t mcindex,
- const Float_t pi0E, TLorentzVector g1, TLorentzVector g2,
- const Float_t m02, const Int_t pid);
-
- void FillThetaStarHistograms(const Int_t nMax, const Bool_t matched, const Int_t mcindex,
- const Float_t pi0E, TLorentzVector g1, TLorentzVector g2,
- const Float_t m02, const Int_t pid);
-
- void FillEBinHistograms(const Int_t ebin, const Int_t nMax, const Int_t mcindex, const Float_t splitFrac,
- const Float_t mass, const Float_t asym, const Float_t l0);
-
- void FillMCHistograms(const Float_t en, const Float_t e1 , const Float_t e2,
- const Int_t ebin, const Int_t mcindex,const Int_t noverlaps,
- const Float_t l0, const Float_t mass,
- const Int_t nMax, const Bool_t matched,
- const Float_t splitFrac, const Float_t asym,
- const Float_t eprim, const Float_t asymGen);
-
- void FillMCOverlapHistograms(const Float_t en, const Float_t enprim,
- const Int_t nc, const Float_t mass, const Float_t l0,
- const Float_t asym, const Float_t splitFrac,
- const Int_t nlm, const Int_t ebin, const Bool_t matched,
- const Int_t mcindex, const Int_t noverlaps);
-
- void FillSSWeightHistograms(AliVCluster *cluster, const Int_t nlm, const Int_t absId1, const Int_t absId2);
-
- void FillSSExtraHistograms(AliVCluster *cluster, const Int_t nMax,
- const Bool_t matched, const Int_t mcindex,
- const Float_t mass , const Int_t ebin);
-
- void FillNCellHistograms(const Int_t ncells, const Float_t energy, const Int_t nMax,
- const Bool_t matched, const Int_t mcindex,
- const Float_t mass , const Float_t l0);
-
- void FillTrackMatchingHistograms(AliVCluster * cluster,const Int_t nMax, const Int_t mcindex);
-
- void FillHistograms1(const Float_t en, const Float_t e1, const Float_t e2,
- const Int_t nMax, const Float_t mass, const Float_t l0,
- const Float_t eta, const Float_t phi,
- const Bool_t matched, const Int_t mcindex);
-
-
- void FillHistograms2(const Float_t en, const Float_t eprim,
- const Float_t e1, const Float_t e2, const Int_t nMax,
- const Float_t mass, const Float_t l0,
- const Bool_t matched, const Int_t mcindex);
-
- void FillIdPi0Histograms(const Float_t en, const Float_t e1, const Float_t e2,
- const Int_t nc, const Int_t nMax, const Float_t t12diff,
- const Float_t mass, const Float_t l0,
- const Float_t eta, const Float_t phi,
- const Bool_t matched, const Int_t mcindex);
-
- void FillIdEtaHistograms(const Float_t en, const Float_t e1, const Float_t e2,
- const Int_t nc, const Int_t nMax, const Float_t t12diff,
- const Float_t mass, const Float_t l0,
- const Float_t eta, const Float_t phi,
- const Bool_t matched, const Int_t mcindex);
-
- void FillIdConvHistograms(const Float_t en, const Int_t nMax, const Float_t asym,
- const Float_t mass, const Float_t l0,
- const Bool_t matched, const Int_t mcindex);
+ void FillAngleHistograms(Int_t nMax, Bool_t matched, Int_t mcindex,
+ Float_t en, Float_t e1 , Float_t e2,
+ Float_t angle, Float_t mass, Float_t anglePrim,
+ Float_t m02, Float_t asym, Int_t pid, Int_t noverlaps);
+
+ void FillArmenterosHistograms(Int_t nMax, Int_t ebin, Int_t mcindex,
+ Float_t pi0E, TLorentzVector g1, TLorentzVector g2,
+ Float_t m02, Int_t pid);
+
+ void FillThetaStarHistograms(Int_t nMax, Bool_t matched, Int_t mcindex,
+ Float_t pi0E, TLorentzVector g1, TLorentzVector g2,
+ Float_t m02, Int_t pid);
+
+ void FillEBinHistograms(Int_t ebin, Int_t nMax, Int_t mcindex, Float_t splitFrac,
+ Float_t mass, Float_t asym, Float_t l0);
+
+ void FillMCHistograms(Float_t en, Float_t e1 , Float_t e2,
+ Int_t ebin, Int_t mcindex,Int_t noverlaps,
+ Float_t l0, Float_t mass,
+ Int_t nMax, Bool_t matched,
+ Float_t splitFrac, Float_t asym,
+ Float_t eprim, Float_t asymGen);
+
+ void FillMCOverlapHistograms(Float_t en, Float_t enprim,
+ Int_t nc, Float_t mass, Float_t l0,
+ Float_t asym, Float_t splitFrac,
+ Int_t nlm, Int_t ebin, Bool_t matched,
+ Int_t mcindex, Int_t noverlaps);
+
+ void FillSSWeightHistograms(AliVCluster *cluster, Int_t nlm, Int_t absId1, Int_t absId2);
+
+ void FillSSExtraHistograms(AliVCluster *cluster, Int_t nMax,
+ Bool_t matched, Int_t mcindex,
+ Float_t mass , Int_t ebin);
+
+ void FillNCellHistograms(Int_t ncells, Float_t energy, Int_t nMax,
+ Bool_t matched, Int_t mcindex,
+ Float_t mass , Float_t l0);
+
+ void FillTrackMatchingHistograms(AliVCluster * cluster,Int_t nMax, Int_t mcindex);
+
+ void FillHistograms1(Float_t en, Float_t e1, Float_t e2,
+ Int_t nMax, Float_t mass, Float_t l0,
+ Float_t eta, Float_t phi,
+ Bool_t matched, Int_t mcindex);
+
+
+ void FillHistograms2(Float_t en, Float_t eprim,
+ Float_t e1, Float_t e2, Int_t nMax,
+ Float_t mass, Float_t l0,
+ Bool_t matched, Int_t mcindex);
+
+ void FillIdPi0Histograms(Float_t en, Float_t e1, Float_t e2,
+ Int_t nc, Int_t nMax, Float_t t12diff,
+ Float_t mass, Float_t l0,
+ Float_t eta, Float_t phi,
+ Bool_t matched, Int_t mcindex);
+
+ void FillIdEtaHistograms(Float_t en, Float_t e1, Float_t e2,
+ Int_t nc, Int_t nMax, Float_t t12diff,
+ Float_t mass, Float_t l0,
+ Float_t eta, Float_t phi,
+ Bool_t matched, Int_t mcindex);
+
+ void FillIdConvHistograms(Float_t en, Int_t nMax, Float_t asym,
+ Float_t mass, Float_t l0,
+ Bool_t matched, Int_t mcindex);
void Init();
-//___________________________________________________________________________________________________________________________________
-void AliAnaParticleIsolation::CalculateNormalizeUEBandPerUnitArea(AliAODPWG4ParticleCorrelation * pCandidate,
- Float_t coneptsumCluster, Float_t coneptsumCell, Float_t coneptsumTrack, Float_t &etaBandptsumTrackNorm, Float_t &etaBandptsumClusterNorm)
+//_____________________________________________________________________________________________________________________________________
+void AliAnaParticleIsolation::CalculateNormalizeUEBandPerUnitArea(AliAODPWG4ParticleCorrelation * pCandidate, Float_t coneptsumCluster,
+ Float_t coneptsumCell, Float_t coneptsumTrack,
+ Float_t &etaBandptsumTrackNorm, Float_t &etaBandptsumClusterNorm)
{
//normalize phi/eta band per area unit
fhConeSumPtCluster ->Fill(ptTrig, coneptsumCluster);
}
-//__________________________________________________________________________________________________
+//______________________________________________________________________________________________________
void AliAnaParticleIsolation::CalculateCaloCellSignalInCone(AliAODPWG4ParticleCorrelation * aodParticle,
Float_t & coneptsumCell)
{
void CalculateNormalizeUEBandPerUnitArea(AliAODPWG4ParticleCorrelation * pCandidate,
- const Float_t coneptsumCluster,const Float_t coneptsumCell, const Float_t coneptsumTrack,
+ Float_t coneptsumCluster, Float_t coneptsumCell, Float_t coneptsumTrack,
Float_t &etaBandptsumTrackNorm, Float_t &etaBandptsumClusterNorm ) ;
TObjString * GetAnalysisCuts() ;
} // read AOD MC
}
-//__________________________________________________________________________________________________________________________
-void AliAnaPhoton::FillEMCALTriggerClusterBCHistograms(const Int_t idcalo, const Float_t ecluster, const Float_t tofcluster,
- const Float_t etacluster, const Float_t phicluster)
+//________________________________________________________________________________________________________________
+void AliAnaPhoton::FillEMCALTriggerClusterBCHistograms(Int_t idcalo, Float_t ecluster, Float_t tofcluster,
+ Float_t etacluster, Float_t phicluster)
{
// Fill trigger related histograms
}
-//______________________________________________________________________________________________
-void AliAnaPhoton::FillClusterPileUpHistograms(AliVCluster * calo, const Bool_t matched,
- const Float_t ptcluster,
- const Float_t etacluster, const Float_t phicluster,
- const Float_t l0cluster)
+//_________________________________________________________________________________________________________
+void AliAnaPhoton::FillClusterPileUpHistograms(AliVCluster * calo, Bool_t matched, Float_t ptcluster,
+ Float_t etacluster, Float_t phicluster, Float_t l0cluster)
{
// Fill some histograms related to pile up before any cluster cut is applied
void FillAcceptanceHistograms();
- void FillEMCALTriggerClusterBCHistograms(const Int_t idcalo, const Float_t ecluster, const Float_t tofcluster,
- const Float_t etacluster, const Float_t phicluster);
+ void FillEMCALTriggerClusterBCHistograms(Int_t idcalo, Float_t ecluster, Float_t tofcluster,
+ Float_t etacluster, Float_t phicluster);
void FillShowerShapeHistograms( AliVCluster* cluster, Int_t mcTag) ;
void SwitchOnTMHistoFill() { fFillTMHisto = kTRUE ; }
void SwitchOffTMHistoFill() { fFillTMHisto = kFALSE ; }
- void FillClusterPileUpHistograms(AliVCluster * calo, const Bool_t matched,
- const Float_t ptcluster,
- const Float_t etacluster, const Float_t phicluster,
- const Float_t l0cluster);
+ void FillClusterPileUpHistograms(AliVCluster * calo, Bool_t matched,
+ Float_t ptcluster, Float_t etacluster,
+ Float_t phicluster, Float_t l0cluster);
void FillPileUpHistograms(Float_t energy, Float_t pt, Float_t time) ;
void FillPileUpHistogramsPerEvent() ;
} // read AOD MC
}
-//______________________________________________________________________________________
-void AliAnaPi0::FillArmenterosThetaStar(const Int_t pdg, const TLorentzVector meson,
- const TLorentzVector daugh1, const TLorentzVector daugh2)
+//__________________________________________________________________________________
+void AliAnaPi0::FillArmenterosThetaStar(Int_t pdg, TLorentzVector meson,
+ TLorentzVector daugh1, TLorentzVector daugh2)
{
// Fill armenteros plots
}
-//_____________________________________________________________
-void AliAnaPi0::FillMCVersusRecDataHistograms(const Int_t index1, const Int_t index2,
- const Float_t pt1, const Float_t pt2,
- const Int_t ncell1, const Int_t ncell2,
- const Double_t mass, const Double_t pt, const Double_t asym,
- const Double_t deta, const Double_t dphi){
+//_______________________________________________________________________________________
+void AliAnaPi0::FillMCVersusRecDataHistograms(Int_t index1, Int_t index2,
+ Float_t pt1, Float_t pt2,
+ Int_t ncell1, Int_t ncell2,
+ Double_t mass, Double_t pt, Double_t asym,
+ Double_t deta, Double_t dphi)
+{
//Do some MC checks on the origin of the pair, is there any common ancestor and if there is one, who?
//Adjusted for Pythia, need to see what to do for other generators.
//Array of histograms ordered as follows: 0-Photon, 1-electron, 2-pi0, 3-eta, 4-a-proton, 5-a-neutron, 6-stable particles,
void SwitchOffMultipleCutAnalysisInSimulation() { fMultiCutAnaSim = kFALSE ; }
void FillAcceptanceHistograms();
- void FillMCVersusRecDataHistograms(const Int_t index1, const Int_t index2,
- const Float_t pt1, const Float_t pt2,
- const Int_t ncells1, const Int_t ncells2,
- const Double_t mass, const Double_t pt, const Double_t asym,
- const Double_t deta, const Double_t dphi);
-
- void FillArmenterosThetaStar(const Int_t pdg, const TLorentzVector meson,
- const TLorentzVector daugh1, const TLorentzVector daugh2);
+ void FillMCVersusRecDataHistograms(Int_t index1, Int_t index2,
+ Float_t pt1, Float_t pt2,
+ Int_t ncells1, Int_t ncells2,
+ Double_t mass, Double_t pt, Double_t asym,
+ Double_t deta, Double_t dphi);
+
+ void FillArmenterosThetaStar(Int_t pdg, TLorentzVector meson,
+ TLorentzVector daugh1, TLorentzVector daugh2);
private:
}
-//_______________________________________________________________________________________________
-void AliAnaPi0EbE::FillPileUpHistograms(const Float_t pt, const Float_t time, AliVCluster * calo)
+//___________________________________________________________________________________
+void AliAnaPi0EbE::FillPileUpHistograms(Float_t pt, Float_t time, AliVCluster * calo)
{
// Fill some histograms to understand pile-up
if(!fFillPileUpHistograms) return;
}
-//___________________________________________________________________________________________
-void AliAnaPi0EbE::FillRejectedClusterHistograms(const TLorentzVector mom, const Int_t mctag, const Int_t nMaxima)
+//______________________________________________________________________________________________
+void AliAnaPi0EbE::FillRejectedClusterHistograms(TLorentzVector mom, Int_t mctag, Int_t nMaxima)
{
// Fill histograms that do not pass the identification (SS case only)
}
}
-//_____________________________________________________________________________________
-void AliAnaPi0EbE::FillSelectedClusterHistograms(AliVCluster* cluster,
- const Int_t nMaxima,
- const Int_t tag,
- const Float_t asy)
+//___________________________________________________________________________________
+void AliAnaPi0EbE::FillSelectedClusterHistograms(AliVCluster* cluster, Int_t nMaxima,
+ Int_t tag, Float_t asy)
{
// Fill shower shape, timing and other histograms for selected clusters from decay
TList * GetCreateOutputObjects();
- Int_t GetMCIndex(const Int_t aodTag);
+ Int_t GetMCIndex(Int_t aodTag);
void Init();
// Main
- void FillPileUpHistograms(const Float_t pt, const Float_t time, AliVCluster * c) ;
+ void FillPileUpHistograms(Float_t pt, Float_t time, AliVCluster * c) ;
- void FillRejectedClusterHistograms(const TLorentzVector mom, const Int_t mctag, const Int_t nMaxima);
+ void FillRejectedClusterHistograms(TLorentzVector mom, Int_t mctag, Int_t nMaxima);
void FillSelectedClusterHistograms(AliVCluster* cluster,
- const Int_t nLocMax,
- const Int_t tag,
- const Float_t asy = 0);
+ Int_t nLocMax,
+ Int_t tag,
+ Float_t asy = 0);
void FillWeightHistograms(AliVCluster *clus);
}
-//_____________________________________________________________________________________
-Bool_t AliAnaRandomTrigger::ExcludeDeadBadRegions(const Float_t eta, const Float_t phi)
+//_________________________________________________________________________
+Bool_t AliAnaRandomTrigger::ExcludeDeadBadRegions(Float_t eta, Float_t phi)
{
// Check if there is a dead or bad region in a detector
// Now only EMCAL
AliAnaRandomTrigger() ; // default ctor
virtual ~AliAnaRandomTrigger() { ; } //virtual dtor
- Bool_t ExcludeDeadBadRegions(const Float_t eta, const Float_t phi);
+ Bool_t ExcludeDeadBadRegions(Float_t eta, Float_t phi);
TObjString * GetAnalysisCuts();