@@ -221,7 +221,7 @@ struct AngularCorrelationsInJets {
221221
222222 constituents = hardestJet.constituents ();
223223
224- for (int i = 0 ; i < static_cast < int > constituents.size (); i++) {
224+ for (int i = 0 ; i < constituents.size (); i++) {
225225 registryData.fill (HIST (" hPtJetParticle" ), constituents[i].pt ());
226226 double DeltaPhi = TVector2::Phi_0_2pi (constituents[i].phi () - hardestJet.phi ());
227227 double DeltaEta = constituents[i].eta () - hardestJet.eta ();
@@ -237,7 +237,7 @@ struct AngularCorrelationsInJets {
237237
238238 subtractedJet = subtractor (hardestJet);
239239 if (subtractedJet.has_constituents ()) {
240- for (int i = 0 ; i < static_cast < int > subtractedJet.constituents ().size (); i++) {
240+ for (int i = 0 ; i < subtractedJet.constituents ().size (); i++) {
241241 registryData.fill (HIST (" hPtSubtractedJet" ), subtractedJet.constituents ()[i].pt ());
242242 }
243243 }
@@ -247,7 +247,7 @@ struct AngularCorrelationsInJets {
247247 std::vector<typename TracksType::iterator> jetDeuterons;
248248 std::vector<typename TracksType::iterator> jetAntideuterons;
249249
250- for (int i = 0 ; i < static_cast < int > constituents.size (); i++) {
250+ for (int i = 0 ; i < constituents.size (); i++) {
251251 fastjet::PseudoJet pseudoParticle = constituents[i];
252252 int id = pseudoParticle.user_index ();
253253 typename TracksType::iterator jetParticle = tracks.iteratorAt (id);
@@ -295,8 +295,8 @@ struct AngularCorrelationsInJets {
295295 registryData.fill (HIST (" hEventProtocol" ), 5 );
296296
297297 if (jetProtons.size () > 1 ) {
298- for (int i = 0 ; i < static_cast < int > jetProtons.size (); i++) {
299- for (int j = i + 1 ; j < static_cast < int > jetProtons.size (); j++) {
298+ for (int i = 0 ; i < jetProtons.size (); i++) {
299+ for (int j = i + 1 ; j < jetProtons.size (); j++) {
300300 double DeltaPhi = TVector2::Phi_0_2pi (jetProtons[i].phi () - jetProtons[j].phi ());
301301 double DeltaEta = TMath::Abs (jetProtons[i].eta () - jetProtons[j].eta ());
302302 if (DeltaPhi > (1.5 * TMath::Pi ())) {
@@ -310,8 +310,8 @@ struct AngularCorrelationsInJets {
310310 }
311311 }
312312 if (jetAntiprotons.size () > 1 ) {
313- for (int i = 0 ; i < static_cast < int > jetAntiprotons.size (); i++) {
314- for (int j = i + 1 ; j < static_cast < int > jetAntiprotons.size (); j++) {
313+ for (int i = 0 ; i < jetAntiprotons.size (); i++) {
314+ for (int j = i + 1 ; j < jetAntiprotons.size (); j++) {
315315 double DeltaPhi = TVector2::Phi_0_2pi (jetAntiprotons[i].phi () - jetAntiprotons[j].phi ());
316316 double DeltaEta = TMath::Abs (jetAntiprotons[i].eta () - jetAntiprotons[j].eta ());
317317 if (DeltaPhi > (1.5 * TMath::Pi ())) {
@@ -325,8 +325,8 @@ struct AngularCorrelationsInJets {
325325 }
326326 }
327327 if (jetDeuterons.size () > 1 ) {
328- for (int i = 0 ; i < static_cast < int > jetDeuterons.size (); i++) {
329- for (int j = i + 1 ; j < static_cast < int > jetDeuterons.size (); j++) {
328+ for (int i = 0 ; i < jetDeuterons.size (); i++) {
329+ for (int j = i + 1 ; j < jetDeuterons.size (); j++) {
330330 double DeltaPhi = TVector2::Phi_0_2pi (jetDeuterons[i].phi () - jetDeuterons[j].phi ());
331331 double DeltaEta = TMath::Abs (jetDeuterons[i].eta () - jetDeuterons[j].eta ());
332332 if (DeltaPhi > (1.5 * TMath::Pi ())) {
@@ -340,8 +340,8 @@ struct AngularCorrelationsInJets {
340340 }
341341 }
342342 if (jetAntideuterons.size () > 1 ) {
343- for (int i = 0 ; i < static_cast < int > jetAntideuterons.size (); i++) {
344- for (int j = i + 1 ; j < static_cast < int > jetAntideuterons.size (); j++) {
343+ for (int i = 0 ; i < jetAntideuterons.size (); i++) {
344+ for (int j = i + 1 ; j < jetAntideuterons.size (); j++) {
345345 double DeltaPhi = TVector2::Phi_0_2pi (jetAntideuterons[i].phi () - jetAntideuterons[j].phi ());
346346 double DeltaEta = TMath::Abs (jetAntideuterons[i].eta () - jetAntideuterons[j].eta ());
347347 if (DeltaPhi > (1.5 * TMath::Pi ())) {
@@ -512,7 +512,7 @@ struct AngularCorrelationsInJets {
512512 case 1 :
513513 if (fTrackBufferProton .size () == 0 )
514514 return ;
515- for (int i = 0 ; i < static_cast < int > fTrackBufferProton .size (); i++) { // can I do this even if the track buffer isn't even full yet?
515+ for (int i = 0 ; i < fTrackBufferProton .size (); i++) { // can I do this even if the track buffer isn't even full yet?
516516 double DeltaPhi = TVector2::Phi_0_2pi (track.phi () - fTrackBufferProton [i].phi ());
517517 double DeltaEta = TMath::Abs (track.eta () - fTrackBufferProton [i].eta ());
518518 registryData.fill (HIST (" hDeltaPhiME" ), particleType, DeltaPhi);
@@ -522,7 +522,7 @@ struct AngularCorrelationsInJets {
522522 case 2 :
523523 if (fTrackBufferAntiproton .size () == 0 )
524524 return ;
525- for (int i = 0 ; i < static_cast < int > fTrackBufferAntiproton .size (); i++) {
525+ for (int i = 0 ; i < fTrackBufferAntiproton .size (); i++) {
526526 double DeltaPhi = TVector2::Phi_0_2pi (track.phi () - fTrackBufferAntiproton [i].phi ());
527527 double DeltaEta = TMath::Abs (track.eta () - fTrackBufferAntiproton [i].eta ());
528528 registryData.fill (HIST (" hDeltaPhiME" ), particleType, DeltaPhi);
@@ -532,7 +532,7 @@ struct AngularCorrelationsInJets {
532532 case 3 :
533533 if (fTrackBufferDeuteron .size () == 0 )
534534 return ;
535- for (int i = 0 ; i < static_cast < int > fTrackBufferDeuteron .size (); i++) {
535+ for (int i = 0 ; i < fTrackBufferDeuteron .size (); i++) {
536536 double DeltaPhi = TVector2::Phi_0_2pi (track.phi () - fTrackBufferDeuteron [i].phi ());
537537 double DeltaEta = TMath::Abs (track.eta () - fTrackBufferDeuteron [i].eta ());
538538 registryData.fill (HIST (" hDeltaPhiME" ), particleType, DeltaPhi);
@@ -542,7 +542,7 @@ struct AngularCorrelationsInJets {
542542 case 4 :
543543 if (fTrackBufferAntideuteron .size () == 0 )
544544 return ;
545- for (int i = 0 ; i < static_cast < int > fTrackBufferAntideuteron .size (); i++) {
545+ for (int i = 0 ; i < fTrackBufferAntideuteron .size (); i++) {
546546 double DeltaPhi = TVector2::Phi_0_2pi (track.phi () - fTrackBufferAntideuteron [i].phi ());
547547 double DeltaEta = TMath::Abs (track.eta () - fTrackBufferAntideuteron [i].eta ());
548548 registryData.fill (HIST (" hDeltaPhiME" ), particleType, DeltaPhi);
0 commit comments