Clusters of scintillators. More...
#include <cluster.h>
Public Member Functions | |
| virtual void | do_measurement (ana_event &) |
| The "analyser" method. | |
| virtual void | init_from (const datatools::utils::properties &) |
| Be able to init from config file. | |
| void | init () |
| Unused. | |
| int | get_cluster (const scin_hit &) |
| If scin_hit is in a cluster, return its number. | |
| int | clusters (ana_event &) |
| return the number of clusters in the event. | |
| int | get_hits_number (ana_event &, int) |
| Get the number of hits. | |
| bool | is_associated (ana_event &, int) |
| Check if the cluster is associated. | |
| double | get_energy (ana_event &event_, int cluster_) |
| Sum the energy of the cluster 'cluster_' from the ana_event 'event_'. | |
| void | dump (ana_event &, std::ostream &) |
| Dump infos on clusters. | |
| cluster (bool debug_=false) | |
| Default constructor. | |
| virtual | ~cluster () |
| Default destructor. | |
Static Public Attributes | |
| static const string | NUMBER_OF_CLUSTERS_PROPERTY_NAME |
| Properties cluster name for the number of clusters. | |
| static const string | IN_CLUSTER_PROPERTY_NAME |
| Properties cluster name for "in cluster" scintillator. | |
Private Attributes | |
| bool | __debug |
| string | __tracking_name |
| the name of the tracking 'default' by default | |
Clusters of scintillators.
Author(s): Arnaud Chapon chapon@lpccaen.in2p3.fr Creation date: 2010-03-04 Last modified: 2010-03-05
License:
Description: NEMO3 ANA event cluster model
History:
| bool nemo3::cluster::is_associated | ( | ana_event & | , |
| int | |||
| ) |
Check if the cluster is associated.
Check all of the scins implied in the clusters, and if one of them is associated with a track
1.8.0