CFEL - ASG Software Suite  2.5.0
CASS
coltrims_analysis.h
Go to the documentation of this file.
1 //Copyright (C) 2011-2013 Lutz Foucar
2 
3 /**
4  * @file coltrims_analysis.h file contains the processor specific for
5  * coltrims analysis
6  *
7  * @author Lutz Foucar
8  */
9 
10 #ifndef _COLTRIMSANALYSIS_H
11 #define _COLTRIMSANALYSIS_H
12 
13 #include "processor.h"
15 #include "signal_producer.h"
16 #include "delayline_detector.h"
17 
18 namespace cass
19 {
20 
21 
22 /** Electron energy.
23  *
24  * @PPList "5000": Electron energy
25  *
26  * retrieve electron energy from recoil momentum of Particle that belong to a
27  * detector
28  *
29  * To set up the channel assignment for the requested detector one needs to
30  * set up the detector parameters.
31  * @see cass::ACQIRIS::TofDetector or cass::ACQIRIS::DelaylineDetector and
32  * cass::ACQIRIS::Signal
33  *
34  * @see Processor for a list of all commonly available cass.ini
35  * settings.
36  *
37  * @cassttng Processor/\%name\%/{XNbrBins|XLow|XUp}\n
38  * properties of the 1d histogram
39  * @cassttng Processor/\%name\%/{Detector}\n
40  * Name of the first detector that we work on. Default is "blubb"
41  * @cassttng Processor/\%name\%/{Particle}\n
42  * Name of the particle whose momentum we want to convert to
43  * electron energy in eV
44  *
45  * @author Daniel Rolles
46  * @author Benedikt Rudek
47  */
48 class pp5000 : public Processor
49 {
50 public:
51  /** Constructor for Number of Signals*/
52  pp5000(const name_t &);
53 
54  /** Retrieve the number of Signals and histogram it */
55  virtual void process(const CASSEvent&, result_t&);
56 
57  /** load the histogram settings from file*/
58  virtual void loadSettings(size_t);
59 
60 protected:
61  /** The detector we are there for*/
62  ACQIRIS::HelperAcqirisDetectors::helperinstancesmap_t::key_type _detector;
63 
64  /** the particle we are working on */
65  ACQIRIS::DelaylineDetector::particles_t::key_type _particle;
66 };
67 
68 
69 
70 /** Tripple coincidence spectra.
71  *
72  * @PPList "5001": Tripple coincidence spectra
73  *
74  * This processor will create Tripple Photo-Ion Coincidence Spectra.
75  *
76  * To set up the channel assignment for the requested detector one needs to set
77  * up the detector parameters.
78  * @see cass::ACQIRIS::TofDetector or cass::ACQIRIS::DelaylineDetector and
79  * cass::ACQIRIS::Signal
80  *
81  * @see Processor for a list of all commonly available cass.ini
82  * settings.
83  *
84  * @cassttng Processor/\%name\%/{XNbrBins|XLow|XUp|YNbrBins|YLow|YUp}\n
85  * properties of the 2d histogram
86  * @cassttng Processor/\%name\%/{Detector}\n
87  * Name of the first detector that we work on. Default is "blubb"
88  *
89  * @author Lutz Foucar
90  */
91 class pp5001 : public Processor
92 {
93 public:
94  /** Constructor for Number of Signals*/
95  pp5001(const name_t &);
96 
97  /** Retrieve the number of Signals and histogram it */
98  virtual void process(const CASSEvent&, result_t&);
99 
100  /** load the histogram settings from file*/
101  virtual void loadSettings(size_t);
102 
103 protected:
104  /** The first detector of the cooincdence*/
105  ACQIRIS::HelperAcqirisDetectors::helperinstancesmap_t::key_type _detector;
106 };
107 
108 }//end namespace cass
109 #endif
Event to store all LCLS Data.
Definition: cass_event.h:32
file contains the classes that describe how to analyze the waveform and stores the result...
ACQIRIS::HelperAcqirisDetectors::helperinstancesmap_t::key_type _detector
The first detector of the cooincdence.
ACQIRIS::HelperAcqirisDetectors::helperinstancesmap_t::key_type _detector
The detector we are there for.
file contains declaration of classes that extract information of acqiris detectors.
virtual void loadSettings(size_t)
load the histogram settings from file
ACQIRIS::DelaylineDetector::particles_t::key_type _particle
the particle we are working on
Electron energy.
file contains the classes that describe a delayline detector.
pp5001(const name_t &)
Constructor for Number of Signals.
base class for processors.
Definition: processor.h:39
virtual void loadSettings(size_t)
load the histogram settings from file
virtual void process(const CASSEvent &, result_t &)
Retrieve the number of Signals and histogram it.
file contains processors baseclass declaration
pp5000(const name_t &)
Constructor for Number of Signals.
virtual void process(const CASSEvent &, result_t &)
Retrieve the number of Signals and histogram it.
std::string name_t
define the name type
Definition: processor.h:46
Tripple coincidence spectra.