nuisance is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#23 closed enhancement (fixed)

Add NPDG function to FitEvent

Reported by: Patrick Stowell Owned by: somebody
Priority: minor Milestone: v1r0
Component: component1 Version:
Keywords: Cc:

Description

FitEvent? needs an easier way to count number of final state particles.

Change History (2)

comment:1 Changed 7 years ago by cwilkinson

Resolution: fixed
Status: newclosed

Implemented two new functions in FitEvent?:

int NumParticle?(int pdg = 0, int state = -1);
int NumParticle?(std::vector<int> pdg, int state = -1);

There are NumISParticle and NumFSParticle versions of each. You can get the number of a single pdg code, or total number of pdgs in a list :-)

comment:2 Changed 7 years ago by Clarence Wret

Milestone: milestone1v1r0

Milestone renamed

Note: See TracTickets for help on using tickets.