Jpp
|
Class dedicated to the nanobeacon analyses, where the Modules in the detector are not regarded as single entities. More...
#include <SUPERMODULE.hh>
Public Member Functions | |
SuperModule () | |
Default constructor. More... | |
SuperModule (JModule dom_) | |
Constructor. More... | |
~SuperModule () | |
Destructor. More... | |
bool | has_good_sources () |
Checks if the SuperModule has good sources. More... | |
bool | has_good_targets () |
Checks if the SuperModule has good targets. More... | |
double | getMeanToT_refs () |
Get the mean ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of this supermodule. More... | |
double | getMeanToT_tgts () |
Get the mean ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of the closest target supermodule. More... | |
double | getSigmaToT_refs () |
Get the standard deviation of ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of this supermodule. More... | |
double | getSigmaToT_tgts () |
Get the standard deviation of ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of the closest target supermodule. More... | |
void | compute_mean_tot_ref () |
Computes the mean and standard deviation of the ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of this supermodule. More... | |
void | compute_mean_tot_tgt () |
Computes the mean and standard deviation of the ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of the closest target supermodule. More... | |
pair< SuperModule *, vector< SuperPMT * > > | get_closest_source () |
Get a pair containing a pointer to the closest source supermodule, and a vector of pointers to superpmts. More... | |
pair< SuperModule *, vector< SuperPMT * > > | get_closest_target () |
Returns a pair containing a pointer to the closest target supermodule, and a vector of pointers to superpmts. More... | |
pair< SuperModule *, vector< SuperPMT * > > | get_closest_good_source () |
Returns a pair containing a pointer to the closest source supermodule from which pulses classified as good have been detected, and a vector of pointers to superpmts. More... | |
pair< SuperModule *, vector< SuperPMT * > > | get_closest_good_target () |
Returns a pair containing a pointer to the closest target supermodule that detected pulses from this supermodule that were classified as good, and a vector of pointers to superpmts. More... | |
void | select_good_srcs () |
Searches for sources that have produced pulses classified as good in this supermodule. More... | |
void | select_good_refs () |
Searches for sources that have produced pulses classified as good in this supermodule. More... | |
void | select_good_tgts () |
Searches for target supermodules that have detected good pulses from this supermodule. More... | |
void | analyzeAll () |
Performs a fast analysis of all the SUPERPMTs related with this SUPERMODULE. More... | |
void | fitAll () |
Performs a fit of the time distribution of all the SUPERPMTs related with this SUPERMODULE. More... | |
void | analyzeRefs () |
Performs a fast analysis of the NBPulses of the SUPERPMTs from this supermodule that detected the pulse emited by this supermodule. More... | |
void | fitRefs () |
Performs a fit of the NBPulses of the SUPERPMTs from this supermodule. More... | |
void | analyzeSrcs () |
Performs a fast analysis of the NBPulses of the SUPERPMTs from this supermodule corresponding to the nanobeacon signal emitted by other supermodules. More... | |
void | fitSrcs () |
Performs a fit of the NBPulses of the SUPERPMTs from this supermodule corresponding to the nanobeacon signal emitted by other supermodules. More... | |
void | analyzeTgts () |
Performs a fast analysis of the NBPulses of the SUPERPMTs from other supermodules corresponding to the nanobeacon signal emitted by this supermodule. More... | |
void | fitTgts () |
Performs a fit of the NBPulses of the SUPERPMTs from other supermodules corresponding to the nanobeacon signal emitted by this supermodule. More... | |
vector< pair< SuperModule *, vector< SuperPMT * > > > | get_targets () |
Get a vector of targets. More... | |
vector< pair< SuperModule *, vector< SuperPMT * > > > | get_sources () |
Get a vector of sources. More... | |
vector< pair< SuperModule *, vector< SuperPMT * > > > | get_good_targets () |
Returns a vector of good targets. More... | |
vector< pair< SuperModule *, vector< SuperPMT * > > > | get_good_sources () |
Returns a vector of good sources. More... | |
void | add_tgt (pair< SuperModule *, vector< SuperPMT * > > p) |
Adds a target. More... | |
void | add_src (pair< SuperModule *, vector< SuperPMT * > > p) |
Adds a source. More... | |
vector< SuperPMT * > | get_ref_pmts () |
Returns a vector of SUPERPMTs with the pulses from the nanobeacon in this supermodule detected by the pmts of this supermodule. More... | |
JPMT | getPMT (int i) |
Returns a JPMT from this supermodule. More... | |
int | getFloor () |
Returns the floor of this supermodule. More... | |
int | getString () |
Returns the string of this supermodule. More... | |
JModule | getDom () |
Returns the JModule corresponding to this supermodule. More... | |
vector< SuperModule * > | get_possible_tgts () |
Returns vector with pointers to all the supermodules above this one in the DU. More... | |
vector< SuperModule * > | get_possible_srcs () |
Returns vector with pointers to all the supermodules below this one in the DU. More... | |
void | setDom (JModule dom_) |
Sets the JModule from this supermodule. More... | |
void | add_ref_pmt (SuperPMT *superPM) |
Adds a reference SUPERPMT to this supermodule. More... | |
void | add_possible_src (SuperModule *super_m) |
Adds a SUPERMODULE to the list of possible sources of this supermodule. More... | |
void | add_possible_tgt (SuperModule *super_m) |
Adds a SUPERMODULE to the list of possible targets of this supermodule. More... | |
Private Attributes | |
JModule | dom |
vector< SuperPMT * > | ref_pmts |
vector< SuperPMT * > | good_ref_pmts |
vector< SuperModule * > | possible_srcs |
vector< SuperModule * > | possible_tgts |
vector< pair< SuperModule *, vector< SuperPMT * > > > | sources |
vector< pair< SuperModule *, vector< SuperPMT * > > > | good_sources |
vector< pair< SuperModule *, vector< SuperPMT * > > > | targets |
vector< pair< SuperModule *, vector< SuperPMT * > > > | good_targets |
double | mean_tot_refs |
double | mean_tot_tgts |
double | sigma_tot_refs |
double | sigma_tot_tgts |
Class dedicated to the nanobeacon analyses, where the Modules in the detector are not regarded as single entities.
Definition at line 26 of file SUPERMODULE.hh.
|
inline |
|
inline |
Constructor.
This constructor initializes the SUPERMODULE with a JModule.
dom_ | A JModule. |
Definition at line 64 of file SUPERMODULE.hh.
|
inline |
Destructor.
Definition at line 81 of file SUPERMODULE.hh.
|
inline |
Checks if the SuperModule has good sources.
Definition at line 108 of file SUPERMODULE.hh.
|
inline |
Checks if the SuperModule has good targets.
Definition at line 125 of file SUPERMODULE.hh.
|
inline |
Get the mean ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of this supermodule.
Definition at line 142 of file SUPERMODULE.hh.
|
inline |
Get the mean ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of the closest target supermodule.
Definition at line 155 of file SUPERMODULE.hh.
|
inline |
Get the standard deviation of ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of this supermodule.
Definition at line 168 of file SUPERMODULE.hh.
|
inline |
Get the standard deviation of ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of the closest target supermodule.
Definition at line 181 of file SUPERMODULE.hh.
|
inline |
Computes the mean and standard deviation of the ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of this supermodule.
Definition at line 192 of file SUPERMODULE.hh.
|
inline |
Computes the mean and standard deviation of the ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of the closest target supermodule.
Definition at line 230 of file SUPERMODULE.hh.
|
inline |
Get a pair containing a pointer to the closest source supermodule, and a vector of pointers to superpmts.
Each of the superpmts contain the pulse from the closest source supermodule detected by the pmts in this supermodule.
Definition at line 275 of file SUPERMODULE.hh.
|
inline |
Returns a pair containing a pointer to the closest target supermodule, and a vector of pointers to superpmts.
Each of the superpmts contain the pulse from this supermodule detected by the pmts in the closest target supermodule.
Definition at line 289 of file SUPERMODULE.hh.
|
inline |
Returns a pair containing a pointer to the closest source supermodule from which pulses classified as good have been detected, and a vector of pointers to superpmts.
Each of the superpmts contain the pulse from that supermodule detected by the pmts in this supermodule.
Definition at line 303 of file SUPERMODULE.hh.
|
inline |
Returns a pair containing a pointer to the closest target supermodule that detected pulses from this supermodule that were classified as good, and a vector of pointers to superpmts.
Each of the superpmts contain the pulse from this supermodule detected by the pmts in the closest target supermodule.
Definition at line 317 of file SUPERMODULE.hh.
|
inline |
Searches for sources that have produced pulses classified as good in this supermodule.
Definition at line 328 of file SUPERMODULE.hh.
|
inline |
Searches for sources that have produced pulses classified as good in this supermodule.
Definition at line 356 of file SUPERMODULE.hh.
|
inline |
Searches for target supermodules that have detected good pulses from this supermodule.
Definition at line 371 of file SUPERMODULE.hh.
|
inline |
Performs a fast analysis of all the SUPERPMTs related with this SUPERMODULE.
Definition at line 400 of file SUPERMODULE.hh.
|
inline |
Performs a fit of the time distribution of all the SUPERPMTs related with this SUPERMODULE.
Definition at line 415 of file SUPERMODULE.hh.
|
inline |
Performs a fast analysis of the NBPulses of the SUPERPMTs from this supermodule that detected the pulse emited by this supermodule.
Definition at line 430 of file SUPERMODULE.hh.
|
inline |
Performs a fit of the NBPulses of the SUPERPMTs from this supermodule.
Definition at line 445 of file SUPERMODULE.hh.
|
inline |
Performs a fast analysis of the NBPulses of the SUPERPMTs from this supermodule corresponding to the nanobeacon signal emitted by other supermodules.
Definition at line 460 of file SUPERMODULE.hh.
|
inline |
Performs a fit of the NBPulses of the SUPERPMTs from this supermodule corresponding to the nanobeacon signal emitted by other supermodules.
Definition at line 479 of file SUPERMODULE.hh.
|
inline |
Performs a fast analysis of the NBPulses of the SUPERPMTs from other supermodules corresponding to the nanobeacon signal emitted by this supermodule.
Definition at line 498 of file SUPERMODULE.hh.
|
inline |
Performs a fit of the NBPulses of the SUPERPMTs from other supermodules corresponding to the nanobeacon signal emitted by this supermodule.
Definition at line 517 of file SUPERMODULE.hh.
|
inline |
Get a vector of targets.
Definition at line 538 of file SUPERMODULE.hh.
|
inline |
Get a vector of sources.
Definition at line 551 of file SUPERMODULE.hh.
|
inline |
Returns a vector of good targets.
Definition at line 564 of file SUPERMODULE.hh.
|
inline |
Returns a vector of good sources.
Definition at line 577 of file SUPERMODULE.hh.
|
inline |
Adds a target.
Definition at line 588 of file SUPERMODULE.hh.
|
inline |
Adds a source.
Definition at line 599 of file SUPERMODULE.hh.
Returns a vector of SUPERPMTs with the pulses from the nanobeacon in this supermodule detected by the pmts of this supermodule.
Definition at line 612 of file SUPERMODULE.hh.
|
inline |
Returns a JPMT from this supermodule.
i | A number from 0 to 30 |
Definition at line 625 of file SUPERMODULE.hh.
|
inline |
Returns the floor of this supermodule.
Definition at line 638 of file SUPERMODULE.hh.
|
inline |
Returns the string of this supermodule.
Definition at line 651 of file SUPERMODULE.hh.
|
inline |
Returns the JModule corresponding to this supermodule.
Definition at line 664 of file SUPERMODULE.hh.
|
inline |
Returns vector with pointers to all the supermodules above this one in the DU.
Definition at line 677 of file SUPERMODULE.hh.
|
inline |
Returns vector with pointers to all the supermodules below this one in the DU.
Definition at line 690 of file SUPERMODULE.hh.
|
inline |
Sets the JModule from this supermodule.
dom_ | The JModule to be set. |
Definition at line 703 of file SUPERMODULE.hh.
|
inline |
Adds a reference SUPERPMT to this supermodule.
superPM | A superPMT. |
Definition at line 716 of file SUPERMODULE.hh.
|
inline |
Adds a SUPERMODULE to the list of possible sources of this supermodule.
super_m | A SUPERMODULE. |
Definition at line 729 of file SUPERMODULE.hh.
|
inline |
Adds a SUPERMODULE to the list of possible targets of this supermodule.
super_m | A SUPERMODULE. |
Definition at line 742 of file SUPERMODULE.hh.
|
private |
Definition at line 28 of file SUPERMODULE.hh.
Definition at line 30 of file SUPERMODULE.hh.
Definition at line 32 of file SUPERMODULE.hh.
|
private |
Definition at line 34 of file SUPERMODULE.hh.
|
private |
Definition at line 36 of file SUPERMODULE.hh.
|
private |
Definition at line 38 of file SUPERMODULE.hh.
|
private |
Definition at line 40 of file SUPERMODULE.hh.
|
private |
Definition at line 42 of file SUPERMODULE.hh.
|
private |
Definition at line 44 of file SUPERMODULE.hh.
|
private |
Definition at line 46 of file SUPERMODULE.hh.
|
private |
Definition at line 46 of file SUPERMODULE.hh.
|
private |
Definition at line 46 of file SUPERMODULE.hh.
|
private |
Definition at line 46 of file SUPERMODULE.hh.