@@ -77,6 +77,8 @@ TH1F* fhCentMultB = nullptr;
7777TH1F * fhCentMultA = nullptr ;
7878TH1F * fhVertexZB = nullptr ;
7979TH1F * fhVertexZA = nullptr ;
80+ TH1F * fhMultB = nullptr ;
81+ TH1F * fhMultA = nullptr ;
8082TH1F * fhPB = nullptr ;
8183TH1F * fhPA[kDptDptNoOfSpecies ] = {nullptr };
8284TH1F * fhPtB = nullptr ;
@@ -430,10 +432,14 @@ struct DptDptFilter {
430432 if (fSystem > kPbp ) {
431433 fhCentMultB = new TH1F (" CentralityB" , " Centrality before cut; centrality (%)" , 100 , 0 , 100 );
432434 fhCentMultA = new TH1F (" CentralityA" , " Centrality; centrality (%)" , 100 , 0 , 100 );
435+ fhMultB = new TH1F (" V0MB" , " V0 Multiplicity before cut;V0 Multiplicity;Collisions" , 4001 , -0.5 , 4000.5 );
436+ fhMultA = new TH1F (" V0MA" , " V0 Multiplicity;V0 Multiplicity;Collisions" , 4001 , -0.5 , 4000.5 );
433437 } else {
434438 /* for pp, pPb and Pbp systems use multiplicity instead */
435439 fhCentMultB = new TH1F (" MultiplicityB" , " Multiplicity before cut; multiplicity (%)" , 100 , 0 , 100 );
436440 fhCentMultA = new TH1F (" MultiplicityA" , " Multiplicity; multiplicity (%)" , 100 , 0 , 100 );
441+ fhMultB = new TH1F (" V0MB" , " V0 Multiplicity before cut;V0 Multiplicity;Collisions" , 601 , -0.5 , 600.5 );
442+ fhMultA = new TH1F (" V0MA" , " V0 Multiplicity;V0 Multiplicity;Collisions" , 601 , -0.5 , 600.5 );
437443 }
438444
439445 fhVertexZB = new TH1F (" VertexZB" , " Vertex Z; z_{vtx}" , 60 , -15 , 15 );
@@ -476,6 +482,8 @@ struct DptDptFilter {
476482 /* add the hstograms to the output list */
477483 fOutputList ->Add (fhCentMultB);
478484 fOutputList ->Add (fhCentMultA);
485+ fOutputList ->Add (fhMultB);
486+ fOutputList ->Add (fhMultA);
479487 fOutputList ->Add (fhVertexZB);
480488 fOutputList ->Add (fhVertexZA);
481489 fOutputList ->Add (fhPB);
@@ -726,7 +734,7 @@ void DptDptFilter::filterParticles(ParticleListObject const& particles, MCCollis
726734}
727735
728736template <typename TrackListObject>
729- void DptDptFilter::filterTracks (TrackListObject const & ftracks , int colix )
737+ void DptDptFilter::filterTracks (TrackListObject const &, int )
730738{
731739 LOGF (fatal, " Track filtering not implemented for the passed track table" );
732740}
@@ -806,13 +814,17 @@ void DptDptFilter::processReconstructed(CollisionObject const& collision, Tracks
806814
807815 LOGF (DPTDPTFILTERLOGCOLLISIONS , " DptDptFilterTask::processReconstructed(). New collision with %d tracks" , ftracks.size ());
808816
817+ float mult = extractMultiplicity (collision);
818+
809819 fhCentMultB->Fill (passedcent);
820+ fhMultB->Fill (mult);
810821 fhVertexZB->Fill (collision.posZ ());
811822 bool acceptedevent = false ;
812823 float centormult = passedcent;
813824 if (IsEvtSelected (collision, centormult)) {
814825 acceptedevent = true ;
815826 fhCentMultA->Fill (centormult);
827+ fhMultA->Fill (mult);
816828 fhVertexZA->Fill (collision.posZ ());
817829 acceptedcollisions (collision.bcId (), collision.posZ (), acceptedevent, centormult);
818830
0 commit comments