cp3-llbb / HHAnalysis

HH analysis for CP3 llbb framework
0 stars 7 forks source link

Keep explicitly the number of primary vertices in the output #14

Closed BrieucF closed 9 years ago

OlivierBondu commented 9 years ago

vertex_isValid().size() should already do the job, @blinkseb can you confirm ?

blinkseb commented 9 years ago

vertex_isValid().size() returns the number of primary vertices, not the number of valid primary vertices. If you want the number of valid vertices, you have to iterate over the isValid array, which IIRC is a vector of bool.

OlivierBondu commented 9 years ago

which is, as far as I know, to study PU dependence, so it should be doing the job