Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
BetaScintProcessor.hpp
Go to the documentation of this file.
1 
7 #ifndef __BETASCINTPROCESSOR_HPP_
8 #define __BETASCINTPROCESSOR_HPP_
9 
10 #include "EventProcessor.hpp"
11 
12 namespace dammIds {
14  namespace beta_scint {
15  const int D_MULT_BETA = 0;
16  const int D_ENERGY_BETA = 1;
17  const int D_MULT_BETA_THRES_GATED = 2;
19 
20  const int D_MULT_BETA_GAMMA_GATED = 4;
22  const int DD_ENERGY_BETA__GAMMA = 6;
23 
25  const int DD_ENERGY_BETA__TIME_NOG = 11;
26  const int DD_ENERGY_BETA__TIME_G = 12;
27 
30  const int DD_ENERGY_BETA__TIME_TM_G = 22;
31  }
32 }
33 
36 public:
44  BetaScintProcessor(double gammaBetaLimit, double energyContraction);
48  virtual bool PreProcess(RawEvent &event);
52  virtual bool Process(RawEvent &event);
54  virtual void DeclarePlots(void);
56  static const double timeSpectraTimeResolution = 10e-3;
57 
58 protected:
62  EventData BestGammaForBeta(double bTime);
65  bool GoodGammaBeta(double gTime);
71 };
72 
73 #endif // __BETASCINTPROCSSEOR_HPP_
const int DD_ENERGY_BETA__TIME_TM_G
Energy vs. Beta Time (tape move - w/ gamma)
Definition: BetaScintProcessor.hpp:30
virtual bool PreProcess(RawEvent &event)
PreProcessing for the class.
const int DD_ENERGY_BETA__TIME_TOTAL
Energy vs. Beta Time Total.
Definition: BetaScintProcessor.hpp:24
const int D_MULT_BETA
Multiplicity.
Definition: BetaScintProcessor.hpp:15
EventData BestGammaForBeta(double bTime)
Generic event processor.
const int DD_ENERGY_BETA__TIME_TM_TOTAL
Energy vs. Beta Time (tape move)
Definition: BetaScintProcessor.hpp:28
const int D_MULT_BETA_THRES_GATED
Multi beta threshold gated.
Definition: BetaScintProcessor.hpp:17
static const double timeSpectraTimeResolution
Definition: BetaScintProcessor.hpp:56
~BetaScintProcessor()
Definition: BetaScintProcessor.hpp:40
const int DD_ENERGY_BETA__TIME_G
Energy vs. Beta Time (w gamma)
Definition: BetaScintProcessor.hpp:26
Detector processor that handles scintillator detectors for beta detection.
Definition: BetaScintProcessor.hpp:35
double gammaBetaLimit_
Definition: BetaScintProcessor.hpp:67
bool GoodGammaBeta(double gTime)
const int D_ENERGY_BETA_GAMMA_GATED
Energy (gamma gated)
Definition: BetaScintProcessor.hpp:21
const int D_ENERGY_BETA_THRES_GATED
Energy threshold gated.
Definition: BetaScintProcessor.hpp:18
Namespace containing all the histogram id definitions.
Definition: BetaScintProcessor.hpp:12
Simple structure holding basic parameters needed for correlation of events in the same place...
Definition: EventData.hpp:12
BetaScintProcessor()
Definition: BetaScintProcessor.hpp:38
Class to handle event processing.
Definition: EventProcessor.hpp:25
const int D_ENERGY_BETA
Energy.
Definition: BetaScintProcessor.hpp:16
const int DD_ENERGY_BETA__TIME_NOG
Energy vs. Beta Time (w/o gamma)
Definition: BetaScintProcessor.hpp:25
The all important raw event.
Definition: RawEvent.hpp:46
double energyContraction_
Definition: BetaScintProcessor.hpp:70
virtual bool Process(RawEvent &event)
Main Processing for the class.
virtual void DeclarePlots(void)
const int DD_ENERGY_BETA__GAMMA
Beta Energy vs. Gamma Energy.
Definition: BetaScintProcessor.hpp:22
const int DD_ENERGY_BETA__TIME_TM_NOG
Energy vs. Beta Time (tape move - w/o gamma)
Definition: BetaScintProcessor.hpp:29
const int D_MULT_BETA_GAMMA_GATED
Multi beta gamma gated.
Definition: BetaScintProcessor.hpp:20