File tree Expand file tree Collapse file tree
PWGLF/TableProducer/Nuspex Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040#include < Math/Vector3D.h>
4141#include < Math/Vector4D.h>
4242#include < TH1.h>
43+ #include < TPDGCode.h>
4344#include < TTree.h>
4445
4546#include < algorithm>
@@ -574,7 +575,7 @@ struct CoalescenceTreeProducer {
574575 std::vector<Particle> const & neutrons,
575576 std::vector<Particle> const & antiNeutrons) const
576577 {
577- int minimumSizeContainer = 2 ;
578+ constexpr std:: size_t minimumSizeContainer = 2 ;
578579 return (protons.size () >= minimumSizeContainer && !neutrons.empty ()) ||
579580 (antiProtons.size () >= minimumSizeContainer && !antiNeutrons.empty ());
580581 }
@@ -584,7 +585,7 @@ struct CoalescenceTreeProducer {
584585 std::vector<Particle> const & neutrons,
585586 std::vector<Particle> const & antiNeutrons) const
586587 {
587- int minimumSizeContainer = 2 ;
588+ constexpr std:: size_t minimumSizeContainer = 2 ;
588589 return (!protons.empty () && neutrons.size () >= minimumSizeContainer) ||
589590 (!antiProtons.empty () && antiNeutrons.size () >= minimumSizeContainer);
590591 }
You can’t perform that action at this time.
0 commit comments