Skip to content

Commit 6c78edf

Browse files
committed
Merge pull request #34 from alibuild/alibot-cleanup-9999
[PWGJE] Please consider the following formatting changes to AliceO2Group#9999
2 parents d39a822 + 9b8d829 commit 6c78edf

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

PWGJE/Tasks/statPromptPhoton.cxx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -856,12 +856,12 @@ struct statPromptPhoton {
856856
histos.fill(HIST("REC_Cluster_ParticleWITHtrack_Eta"), clusterparticle.eta());
857857
histos.fill(HIST("REC_Cluster_ParticleWITHtrack_Pt_Phi"), clusterparticle.pt(), clusterparticle.phi());
858858
// if (phiPrimeP > (0.12/ptP + TMath::Pi()/18. + 0.035) ||
859-
// phiPrimeP < (0.1/ptP/ptP + TMath::Pi()/18. - 0.025) ) {
859+
// phiPrimeP < (0.1/ptP/ptP + TMath::Pi()/18. - 0.025) ) {
860860
histos.fill(HIST("REC_Cluster_ParticleWITHtrack_Pt_PhiPrime"), ptP, phiPrimeP);
861861
if (photontrigger) {
862862
histos.fill(HIST("REC_Impurity_ParticleWITHtrack_Pt_PhiPrime"), ptP, phiPrimeP);
863863
}
864-
// }//geo cut
864+
// }//geo cut
865865
histos.fill(HIST("REC_Cluster_ParticleWITHtrack_Pt_Eta"), clusterparticle.pt(), clusterparticle.eta());
866866

867867
histos.fill(HIST("REC_Cluster_ParticleWITHtrack_TrackPt"), track.pt());
@@ -876,7 +876,7 @@ struct statPromptPhoton {
876876
histos.fill(HIST("REC_Cluster_ParticleWITHOUTtrack_Eta"), clusterparticle.eta());
877877
histos.fill(HIST("REC_Cluster_ParticleWITHOUTtrack_Pt_Phi"), clusterparticle.pt(), clusterparticle.phi());
878878
// if (phiPrimeP > (0.12/ptP + TMath::Pi()/18. + 0.035) ||
879-
// phiPrimeP < (0.1/ptP/ptP + TMath::Pi()/18. - 0.025) ) {
879+
// phiPrimeP < (0.1/ptP/ptP + TMath::Pi()/18. - 0.025) ) {
880880
histos.fill(HIST("REC_Cluster_ParticleWITHOUTtrack_Pt_PhiPrime"), ptP, phiPrimeP);
881881
if (photontrigger) {
882882
histos.fill(HIST("REC_Impurity_ParticleWITHOUTtrack_Pt_PhiPrime"), ptP, phiPrimeP);
@@ -885,8 +885,8 @@ struct statPromptPhoton {
885885
histos.fill(HIST("REC_Cluster_ParticleWITHOUTtrack_Pt_Eta"), clusterparticle.pt(), clusterparticle.eta());
886886
}
887887
} // pdg code check
888-
889-
double phidiff = TVector2::Phi_mpi_pi(mccluster.phi() - clusterparticle.phi());
888+
889+
double phidiff = TVector2::Phi_mpi_pi(mccluster.phi() - clusterparticle.phi());
890890
double etadiff = mccluster.eta() - clusterparticle.eta();
891891

892892
if (pdgcode == 211 || pdgcode == 321 || pdgcode == 2212 || pdgcode == 11) {
@@ -987,11 +987,11 @@ struct statPromptPhoton {
987987
// std::cout<<"++++++++++++++++++++++++++++++++"<<std::endl;
988988
// }
989989
// else {
990-
// ccdbpath="GLO/GRP/GRP";
991-
// static o2::parameters::GRPObject* grpo = ccdb->getForTimeStamp<o2::parameters::GRPObject>(ccdbpath, bc.timestamp());
992-
// if(!grpo) {
993-
// std::cout<<"WE CAN NEITHER FETCH GRPMAG OR GRPO!!! SHIT IS SCREWED"<<std::endl;
994-
// }
990+
// ccdbpath="GLO/GRP/GRP";
991+
// static o2::parameters::GRPObject* grpo = ccdb->getForTimeStamp<o2::parameters::GRPObject>(ccdbpath, bc.timestamp());
992+
// if(!grpo) {
993+
// std::cout<<"WE CAN NEITHER FETCH GRPMAG OR GRPO!!! SHIT IS SCREWED"<<std::endl;
994+
// }
995995
// bfield = grpo->getNominalL3Field();
996996
// }
997997
bfield = 5;
@@ -1028,7 +1028,7 @@ struct statPromptPhoton {
10281028
phiPrime = fmod(phiPrime, 2 * TMath::Pi() / 18.);
10291029
double pt = track.pt();
10301030
// if (phiPrime > (0.12/pt + TMath::Pi()/18. + 0.035) ||
1031-
// phiPrime < (0.1/pt/pt + TMath::Pi()/18. - 0.025) ) {
1031+
// phiPrime < (0.1/pt/pt + TMath::Pi()/18. - 0.025) ) {
10321032
histos.fill(HIST("REC_Track_PhiPrime_Pt"), phiPrime, track.pt());
10331033
// }//geo cut
10341034
// Done with geometric cuts

0 commit comments

Comments
 (0)