Jpp
Public Member Functions | Private Attributes | List of all members
SuperModule Class Reference

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
 

Detailed Description

Class dedicated to the nanobeacon analyses, where the Modules in the detector are not regarded as single entities.

Author
rgruiz Instead, they are related to the rest of the DOMs in a DU through the emission of the nanobeacon pulses. A DOM can be emitter (source) of light that is detected by other DOMS, and it can also be a receiver (target) of the light emitted by the other DOMS. The SUPERMODULE class handles the relation of a SUPERMODULE with its source SUPERMODULEs and with its target SUPEMODULES.

Definition at line 26 of file SUPERMODULE.hh.

Constructor & Destructor Documentation

◆ SuperModule() [1/2]

SuperModule::SuperModule ( )
inline

Default constructor.

Definition at line 54 of file SUPERMODULE.hh.

54 {} ;

◆ SuperModule() [2/2]

SuperModule::SuperModule ( JModule  dom_)
inline

Constructor.

This constructor initializes the SUPERMODULE with a JModule.

Parameters
dom_A JModule.

Definition at line 64 of file SUPERMODULE.hh.

64  :
65  mean_tot_refs (0),
66  mean_tot_tgts (0),
67  sigma_tot_refs (0),
68  sigma_tot_tgts (0)
69 
70  {
71 
72  dom = dom_ ;
73 
74  }

◆ ~SuperModule()

SuperModule::~SuperModule ( )
inline

Destructor.

Definition at line 81 of file SUPERMODULE.hh.

81  {
82 
83  for (auto & spm : ref_pmts){
84 
85  delete(spm) ;
86 
87  }
88 
89  for (auto & src : sources){
90 
91  for (auto & spm : src.second){
92 
93  delete(spm) ;
94 
95  }
96 
97  }
98 
99  }

Member Function Documentation

◆ has_good_sources()

bool SuperModule::has_good_sources ( )
inline

Checks if the SuperModule has good sources.

Returns
true if the vector good_sources is not empty.

Definition at line 108 of file SUPERMODULE.hh.

108  {
109 
110  bool has = false ;
111 
112  if (good_sources.size() > 0) has = true ;
113 
114  return has ;
115 
116  }

◆ has_good_targets()

bool SuperModule::has_good_targets ( )
inline

Checks if the SuperModule has good targets.

Returns
true if the vector good_targets is not empty.

Definition at line 125 of file SUPERMODULE.hh.

125  {
126 
127  bool has = false ;
128 
129  if (good_targets.size() > 0) has = true ;
130 
131  return has ;
132 
133  }

◆ getMeanToT_refs()

double SuperModule::getMeanToT_refs ( )
inline

Get the mean ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of this supermodule.

Returns
mean ToT for the reference SuperPMTs

Definition at line 142 of file SUPERMODULE.hh.

142  {
143 
144  return mean_tot_refs ;
145 
146  }

◆ getMeanToT_tgts()

double SuperModule::getMeanToT_tgts ( )
inline

Get the mean ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of the closest target supermodule.

Returns
mean ToT for the target SuperPMTs

Definition at line 155 of file SUPERMODULE.hh.

155  {
156 
157  return mean_tot_tgts ;
158 
159  }

◆ getSigmaToT_refs()

double SuperModule::getSigmaToT_refs ( )
inline

Get the standard deviation of ToT of the pulse of the nanobeacon in this supermodule detected by the pmts of this supermodule.

Returns
standard deviation of ToTs

Definition at line 168 of file SUPERMODULE.hh.

168  {
169 
170  return sigma_tot_refs ;
171 
172  }

◆ getSigmaToT_tgts()

double SuperModule::getSigmaToT_tgts ( )
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.

Returns
standard deviation of ToTs

Definition at line 181 of file SUPERMODULE.hh.

181  {
182 
183  return sigma_tot_tgts ;
184 
185  }

◆ compute_mean_tot_ref()

void SuperModule::compute_mean_tot_ref ( )
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.

192  {
193 
194  vector<double> tots ;
195 
196  double sum = 0 ;
197 
198  if (ref_pmts.size() == 0) return ;
199 
200  for (auto & spm : ref_pmts){
201 
202  double tot = spm->getNBPulse()->getMeanToT() ;
203 
204  sum += tot ;
205 
206  tots.push_back(tot);
207 
208  }
209 
210  mean_tot_refs = sum / tots.size() ;
211 
212 
213  sigma_tot_refs = 0;
214 
215  for (auto & t : tots){
216 
217  sigma_tot_refs += pow((t - mean_tot_refs) , 2) ;
218 
219  }
220 
221  sigma_tot_refs = sqrt(sigma_tot_refs / tots.size());
222 
223  }

◆ compute_mean_tot_tgt()

void SuperModule::compute_mean_tot_tgt ( )
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.

230  {
231 
232  if (targets.size()==0) return ;
233 
235 
236  vector < SuperPMT* > tgt_pmts = tgt.second ;
237 
238  vector<double> tots ;
239 
240  double sum = 0 ;
241 
242  for (auto spm : targets[0].second){
243 
244  double tot = spm->getNBPulse()->getMeanToT() ;
245 
246  sum += tot ;
247 
248  tots.push_back(tot);
249 
250  }
251 
252  mean_tot_tgts = sum / tots.size() ;
253 
254 
255  sigma_tot_tgts = 0;
256 
257  for (auto & t : tots){
258 
259  sigma_tot_tgts += pow((t - mean_tot_tgts) , 2) ;
260 
261  }
262 
263  sigma_tot_tgts= sqrt(sigma_tot_tgts / tots.size());
264 
265  }

◆ get_closest_source()

pair< SuperModule* , vector < SuperPMT* > > SuperModule::get_closest_source ( )
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.

Returns
A pair consisting on a pointer to a SuperModule and the correspondint SuperPMTs

Definition at line 275 of file SUPERMODULE.hh.

275  {
276 
277  return sources[sources.size() - 1];
278 
279  }

◆ get_closest_target()

pair< SuperModule* , vector < SuperPMT* > > SuperModule::get_closest_target ( )
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.

Returns
A pair consisting on a pointer to a SuperModule and the correspondint SuperPMTs

Definition at line 289 of file SUPERMODULE.hh.

289  {
290 
291  return targets[0];
292 
293  }

◆ get_closest_good_source()

pair< SuperModule* , vector < SuperPMT* > > SuperModule::get_closest_good_source ( )
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.

Returns
A pair consisting on a pointer to a SuperModule and the correspondint SuperPMTs

Definition at line 303 of file SUPERMODULE.hh.

303  {
304 
305  return good_sources[good_sources.size() - 1];
306 
307  }

◆ get_closest_good_target()

pair< SuperModule* , vector < SuperPMT* > > SuperModule::get_closest_good_target ( )
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.

Returns
A pair consisting on a pointer to a SuperModule and the correspondint SuperPMTs

Definition at line 317 of file SUPERMODULE.hh.

317  {
318 
319  return good_targets[0];
320 
321  }

◆ select_good_srcs()

void SuperModule::select_good_srcs ( )
inline

Searches for sources that have produced pulses classified as good in this supermodule.

Definition at line 328 of file SUPERMODULE.hh.

328  {
329 
330  for (auto & src : sources){
331 
332  vector<SuperPMT*> good_pulses ;
333 
334  for (auto & spm: src.second){
335 
336  if (spm->getNBPulse()->IsGood()==true) good_pulses.push_back(spm) ;
337 
338  }
339 
340  if(good_pulses.size()>0){
341 
342  pair < SuperModule* , vector<SuperPMT*> > good_pair (src.first , good_pulses) ;
343 
344  good_sources.push_back (good_pair) ;
345 
346  }
347 
348  }
349 
350  }

◆ select_good_refs()

void SuperModule::select_good_refs ( )
inline

Searches for sources that have produced pulses classified as good in this supermodule.

Definition at line 356 of file SUPERMODULE.hh.

356  {
357 
358  for (auto & spm : ref_pmts){
359 
360  if (spm->getNBPulse()->IsGood()==true) good_ref_pmts.push_back(spm) ;
361 
362  }
363 
364  }

◆ select_good_tgts()

void SuperModule::select_good_tgts ( )
inline

Searches for target supermodules that have detected good pulses from this supermodule.

Definition at line 371 of file SUPERMODULE.hh.

371  {
372 
373  for (auto & tgt : targets){
374 
375  vector<SuperPMT*> good_pulses ;
376 
377  for (auto & spm: tgt.second){
378 
379  if (spm->getNBPulse()->IsGood()==true) good_pulses.push_back(spm) ;
380 
381  }
382 
383  if(good_pulses.size()>0){
384 
385  pair < SuperModule* , vector<SuperPMT*> > good_pair (tgt.first , good_pulses) ;
386 
387  good_targets.push_back (good_pair) ;
388 
389  }
390 
391  }
392 
393  }

◆ analyzeAll()

void SuperModule::analyzeAll ( )
inline

Performs a fast analysis of all the SUPERPMTs related with this SUPERMODULE.

Definition at line 400 of file SUPERMODULE.hh.

400  {
401 
402  analyzeRefs() ;
403 
404  analyzeSrcs() ;
405 
406  analyzeTgts() ;
407 
408  }

◆ fitAll()

void SuperModule::fitAll ( )
inline

Performs a fit of the time distribution of all the SUPERPMTs related with this SUPERMODULE.

Definition at line 415 of file SUPERMODULE.hh.

415  {
416 
417  fitRefs() ;
418 
419  fitSrcs() ;
420 
421  fitTgts() ;
422 
423  }

◆ analyzeRefs()

void SuperModule::analyzeRefs ( )
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.

430  {
431 
432  for (auto & spm : ref_pmts){
433 
434  spm->analyzeFast() ;
435 
436  }
437 
438  }

◆ fitRefs()

void SuperModule::fitRefs ( )
inline

Performs a fit of the NBPulses of the SUPERPMTs from this supermodule.

Definition at line 445 of file SUPERMODULE.hh.

445  {
446 
447  for (auto & spm : ref_pmts){
448 
449  spm->fit() ;
450 
451  }
452 
453  }

◆ analyzeSrcs()

void SuperModule::analyzeSrcs ( )
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.

460  {
461 
462  for (auto & src : sources){
463 
464  for (auto & spm : src.second){
465 
466  spm->analyzeFast() ;
467 
468  }
469 
470  }
471 
472  }

◆ fitSrcs()

void SuperModule::fitSrcs ( )
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.

479  {
480 
481  for (auto & src : sources){
482 
483  for (auto & spm : src.second){
484 
485  spm->fit() ;
486 
487  }
488 
489  }
490 
491  }

◆ analyzeTgts()

void SuperModule::analyzeTgts ( )
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.

498  {
499 
500  for (auto & tgt : targets){
501 
502  for (auto & spm : tgt.second){
503 
504  spm->analyzeFast() ;
505 
506  }
507 
508  }
509 
510  }

◆ fitTgts()

void SuperModule::fitTgts ( )
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.

517  {
518 
519  for (auto & tgt : targets){
520 
521  for (auto & spm : tgt.second){
522 
523  spm->fit() ;
524 
525  }
526 
527  }
528 
529  }

◆ get_targets()

vector< pair < SuperModule* , vector < SuperPMT* > > > SuperModule::get_targets ( )
inline

Get a vector of targets.

Returns
A vector of pairs consisting on a pointer to a SuperModule and the correspondint SuperPMTs

Definition at line 538 of file SUPERMODULE.hh.

538  {
539 
540  return targets ;
541 
542  }

◆ get_sources()

vector< pair < SuperModule* , vector < SuperPMT* > > > SuperModule::get_sources ( )
inline

Get a vector of sources.

Returns
A vector of pairs consisting on a pointer to a SuperModule and the correspondint SuperPMTs

Definition at line 551 of file SUPERMODULE.hh.

551  {
552 
553  return sources ;
554 
555  }

◆ get_good_targets()

vector< pair < SuperModule* , vector < SuperPMT* > > > SuperModule::get_good_targets ( )
inline

Returns a vector of good targets.

Returns
A vector of pairs consisting on a pointer to a SuperModule and the correspondint SuperPMTs

Definition at line 564 of file SUPERMODULE.hh.

564  {
565 
566  return good_targets ;
567 
568  }

◆ get_good_sources()

vector< pair < SuperModule* , vector < SuperPMT* > > > SuperModule::get_good_sources ( )
inline

Returns a vector of good sources.

Returns
A vector of pairs consisting on a pointer to a SuperModule and the correspondint SuperPMTs

Definition at line 577 of file SUPERMODULE.hh.

577  {
578 
579  return good_sources ;
580 
581  }

◆ add_tgt()

void SuperModule::add_tgt ( pair< SuperModule *, vector< SuperPMT * > >  p)
inline

Adds a target.

Definition at line 588 of file SUPERMODULE.hh.

588  {
589 
590  targets.push_back(p) ;
591 
592  }

◆ add_src()

void SuperModule::add_src ( pair< SuperModule *, vector< SuperPMT * > >  p)
inline

Adds a source.

Definition at line 599 of file SUPERMODULE.hh.

599  {
600 
601  sources.push_back(p) ;
602 
603  }

◆ get_ref_pmts()

vector<SuperPMT*> SuperModule::get_ref_pmts ( )
inline

Returns a vector of SUPERPMTs with the pulses from the nanobeacon in this supermodule detected by the pmts of this supermodule.

Returns
A vector of SuperPMTs

Definition at line 612 of file SUPERMODULE.hh.

612  {
613 
614  return ref_pmts ;
615 
616  }

◆ getPMT()

JPMT SuperModule::getPMT ( int  i)
inline

Returns a JPMT from this supermodule.

Parameters
iA number from 0 to 30

Definition at line 625 of file SUPERMODULE.hh.

625  {
626 
627  return dom.getPMT(i) ;
628 
629  }

◆ getFloor()

int SuperModule::getFloor ( )
inline

Returns the floor of this supermodule.

Returns
floor number

Definition at line 638 of file SUPERMODULE.hh.

638  {
639 
640  return dom.getFloor() ;
641 
642  }

◆ getString()

int SuperModule::getString ( )
inline

Returns the string of this supermodule.

Returns
string number

Definition at line 651 of file SUPERMODULE.hh.

651  {
652 
653  return dom.getString() ;
654 
655  }

◆ getDom()

JModule SuperModule::getDom ( )
inline

Returns the JModule corresponding to this supermodule.

Returns
the corresponding JModule

Definition at line 664 of file SUPERMODULE.hh.

664  {
665 
666  return dom ;
667 
668  }

◆ get_possible_tgts()

vector<SuperModule*> SuperModule::get_possible_tgts ( )
inline

Returns vector with pointers to all the supermodules above this one in the DU.

Returns
vector of SuperModules

Definition at line 677 of file SUPERMODULE.hh.

677  {
678 
679  return possible_tgts ;
680 
681  }

◆ get_possible_srcs()

vector<SuperModule*> SuperModule::get_possible_srcs ( )
inline

Returns vector with pointers to all the supermodules below this one in the DU.

Returns
vector of SuperModules

Definition at line 690 of file SUPERMODULE.hh.

690  {
691 
692  return possible_srcs ;
693 
694  }

◆ setDom()

void SuperModule::setDom ( JModule  dom_)
inline

Sets the JModule from this supermodule.

Parameters
dom_The JModule to be set.

Definition at line 703 of file SUPERMODULE.hh.

703  {
704 
705  dom = dom_ ;
706 
707  }

◆ add_ref_pmt()

void SuperModule::add_ref_pmt ( SuperPMT superPM)
inline

Adds a reference SUPERPMT to this supermodule.

Parameters
superPMA superPMT.

Definition at line 716 of file SUPERMODULE.hh.

716  {
717 
718  ref_pmts.push_back(superPM) ;
719 
720  }

◆ add_possible_src()

void SuperModule::add_possible_src ( SuperModule super_m)
inline

Adds a SUPERMODULE to the list of possible sources of this supermodule.

Parameters
super_mA SUPERMODULE.

Definition at line 729 of file SUPERMODULE.hh.

729  {
730 
731  possible_srcs.push_back(super_m) ;
732 
733  }

◆ add_possible_tgt()

void SuperModule::add_possible_tgt ( SuperModule super_m)
inline

Adds a SUPERMODULE to the list of possible targets of this supermodule.

Parameters
super_mA SUPERMODULE.

Definition at line 742 of file SUPERMODULE.hh.

742  {
743 
744  possible_tgts.push_back(super_m) ;
745 
746  }

Member Data Documentation

◆ dom

JModule SuperModule::dom
private

Definition at line 28 of file SUPERMODULE.hh.

◆ ref_pmts

vector<SuperPMT*> SuperModule::ref_pmts
private

Definition at line 30 of file SUPERMODULE.hh.

◆ good_ref_pmts

vector<SuperPMT*> SuperModule::good_ref_pmts
private

Definition at line 32 of file SUPERMODULE.hh.

◆ possible_srcs

vector<SuperModule*> SuperModule::possible_srcs
private

Definition at line 34 of file SUPERMODULE.hh.

◆ possible_tgts

vector<SuperModule*> SuperModule::possible_tgts
private

Definition at line 36 of file SUPERMODULE.hh.

◆ sources

vector< pair < SuperModule* , vector < SuperPMT* > > > SuperModule::sources
private

Definition at line 38 of file SUPERMODULE.hh.

◆ good_sources

vector< pair < SuperModule* , vector < SuperPMT* > > > SuperModule::good_sources
private

Definition at line 40 of file SUPERMODULE.hh.

◆ targets

vector< pair < SuperModule* , vector < SuperPMT* > > > SuperModule::targets
private

Definition at line 42 of file SUPERMODULE.hh.

◆ good_targets

vector< pair < SuperModule* , vector < SuperPMT* > > > SuperModule::good_targets
private

Definition at line 44 of file SUPERMODULE.hh.

◆ mean_tot_refs

double SuperModule::mean_tot_refs
private

Definition at line 46 of file SUPERMODULE.hh.

◆ mean_tot_tgts

double SuperModule::mean_tot_tgts
private

Definition at line 46 of file SUPERMODULE.hh.

◆ sigma_tot_refs

double SuperModule::sigma_tot_refs
private

Definition at line 46 of file SUPERMODULE.hh.

◆ sigma_tot_tgts

double SuperModule::sigma_tot_tgts
private

Definition at line 46 of file SUPERMODULE.hh.


The documentation for this class was generated from the following file:
SuperModule::possible_tgts
vector< SuperModule * > possible_tgts
Definition: SUPERMODULE.hh:36
SuperModule::sigma_tot_refs
double sigma_tot_refs
Definition: SUPERMODULE.hh:46
SuperModule::analyzeSrcs
void analyzeSrcs()
Performs a fast analysis of the NBPulses of the SUPERPMTs from this supermodule corresponding to the ...
Definition: SUPERMODULE.hh:460
SuperModule::analyzeTgts
void analyzeTgts()
Performs a fast analysis of the NBPulses of the SUPERPMTs from other supermodules corresponding to th...
Definition: SUPERMODULE.hh:498
std::vector< double >
SuperModule::targets
vector< pair< SuperModule *, vector< SuperPMT * > > > targets
Definition: SUPERMODULE.hh:42
SuperModule::good_ref_pmts
vector< SuperPMT * > good_ref_pmts
Definition: SUPERMODULE.hh:32
JDETECTOR::JModule::getPMT
const JPMT & getPMT(const int index) const
Get PMT.
Definition: JModule.hh:173
SuperModule::fitRefs
void fitRefs()
Performs a fit of the NBPulses of the SUPERPMTs from this supermodule.
Definition: SUPERMODULE.hh:445
SuperModule::fitTgts
void fitTgts()
Performs a fit of the NBPulses of the SUPERPMTs from other supermodules corresponding to the nanobeac...
Definition: SUPERMODULE.hh:517
SuperModule::dom
JModule dom
Definition: SUPERMODULE.hh:28
SuperModule::mean_tot_tgts
double mean_tot_tgts
Definition: SUPERMODULE.hh:46
std::pair
Definition: JSTDTypes.hh:15
SuperModule::good_targets
vector< pair< SuperModule *, vector< SuperPMT * > > > good_targets
Definition: SUPERMODULE.hh:44
SuperModule::fitSrcs
void fitSrcs()
Performs a fit of the NBPulses of the SUPERPMTs from this supermodule corresponding to the nanobeacon...
Definition: SUPERMODULE.hh:479
SuperModule::good_sources
vector< pair< SuperModule *, vector< SuperPMT * > > > good_sources
Definition: SUPERMODULE.hh:40
SuperModule::sources
vector< pair< SuperModule *, vector< SuperPMT * > > > sources
Definition: SUPERMODULE.hh:38
SuperModule::ref_pmts
vector< SuperPMT * > ref_pmts
Definition: SUPERMODULE.hh:30
SuperModule::sigma_tot_tgts
double sigma_tot_tgts
Definition: SUPERMODULE.hh:46
JDETECTOR::JModuleLocation::getFloor
int getFloor() const
Get floor number.
Definition: JModuleLocation.hh:144
SuperModule::analyzeRefs
void analyzeRefs()
Performs a fast analysis of the NBPulses of the SUPERPMTs from this supermodule that detected the pul...
Definition: SUPERMODULE.hh:430
SuperModule::mean_tot_refs
double mean_tot_refs
Definition: SUPERMODULE.hh:46
JDETECTOR::JModuleLocation::getString
int getString() const
Get string number.
Definition: JModuleLocation.hh:133
SuperModule::possible_srcs
vector< SuperModule * > possible_srcs
Definition: SUPERMODULE.hh:34