Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JSUPERNOVA::JClusterSN Class Reference

Auxiliary class to manage a cluster of coincidences. More...

#include <JSupernova.hh>

Inheritance diagram for JSUPERNOVA::JClusterSN:
std::vector< JCoincidenceSN >

Public Member Functions

JModuleSet getModules () const
 
JModuleSet getModules (int multiplicityThreshold) const
 

Detailed Description

Auxiliary class to manage a cluster of coincidences.

Definition at line 254 of file JSupernova.hh.

Member Function Documentation

JModuleSet JSUPERNOVA::JClusterSN::getModules ( ) const
inline

Definition at line 260 of file JSupernova.hh.

260  {
261 
262  JModuleSet out;
263 
264  for (JClusterSN::const_iterator p = this->begin(); p != this->end(); p++) {
265  out.insert(p->getModule());
266  }
267 
268  return out;
269  }
set< int > JModuleSet
Definition: JSupernova.hh:29
JModuleSet JSUPERNOVA::JClusterSN::getModules ( int  multiplicityThreshold) const
inline

Definition at line 277 of file JSupernova.hh.

277  {
278 
279  JModuleSet out;
280 
281  for (JClusterSN::const_iterator p = this->begin(); p != this->end(); p++) {
282  if (p->getMultiplicity() >= multiplicityThreshold) {
283  out.insert(p->getModule());
284  }
285  }
286 
287  return out;
288  }
set< int > JModuleSet
Definition: JSupernova.hh:29

The documentation for this class was generated from the following file: