eventAnalysis  7.0-49-g0ac7482
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TECALTestbeamModule.hxx
Go to the documentation of this file.
1 ///
2 /// For questions or suggestions about this module please contact the
3 /// current responsible and CC in the eventAnalysis package manager.
4 ///
5 /// 28-Nov-2012: Current responsible for this module is,
6 /// Callum Lister (c.lister [*a*t*] warwick.ac.uk)
7 ///
8 #ifndef TECALTestbeamModule_hxx_seen
9 #define TECALTestbeamModule_hxx_seen
10 
11 #include <TNamed.h>
12 #include <TTree.h>
13 #include <TND280Event.hxx>
14 #include <string>
15 //#include <TReconCluster.hxx>
16 #include <TIntegerDatum.hxx>
17 
18 #include "TClonesArray.h"
19 
21 
22 namespace ND {
23 class TECALTestbeamModule;
24 };
25 
27  public:
28  TECALTestbeamModule(const char *name = "ECalTestbeam",
29  const char *title = "ECal Testbeam Module");
30  virtual ~TECALTestbeamModule();
31 
32  virtual Bool_t ProcessFirstEvent(ND::TND280Event &event);
33 
34  virtual Bool_t IsEnabledByDefault() const { return kFALSE; }
35 
36  protected:
37  virtual void InitializeModule();
38 
39  virtual void InitializeBranches();
40  virtual bool FillTree(ND::TND280Event &);
41 
42  public:
43  int Cerenkov1Lo[23];
44  int Cerenkov2Lo[23];
45  int Cerenkov1Hi[23];
46  int Cerenkov2Hi[23];
47  int TOF[23];
48 
49  /// Meanings of the trigger word:
50  /// 0x001 Beam spill 0x002 Pedestal/noise
51  /// 0x004 TPC laser 0x008 POD LED
52  /// 0x010 ECAL LED 0x020 FGD LED
53  /// 0x040 FEE calibration 0x080 TRIP-t cosmic
54  /// 0x100 Reserved 0x200 unused
55  /// 0x100 is being used for test beam ToF triggers
57 
58  // 24/05/10 Leigh: Can also get hold of the PID result,
59  // beam momentum and angle of the DsECal to the beam.
60  int PIDResult;
61  double Momentum;
62  int Angle;
63 };
64 #endif
virtual void InitializeBranches()
Initialize Branches. Don&#39;t do anything else in this function.
virtual void InitializeModule()
Initialize Module, override if necessary.
int TriggerWord
Meanings of the trigger word: 0x001 Beam spill 0x002 Pedestal/noise 0x004 TPC laser 0x008 POD LED 0x0...
virtual bool FillTree(ND::TND280Event &)
Fill all the stuff that goes in the output tree.
virtual Bool_t IsEnabledByDefault() const
Is the module is enabled by default.
TECALTestbeamModule(const char *name="ECalTestbeam", const char *title="ECal Testbeam Module")
A base class for analysis output modules which contain reconstructed event information.
virtual Bool_t ProcessFirstEvent(ND::TND280Event &event)
Is called after the first event is loaded in.

Package Summary
Package Name: eventAnalysis
Package Version: 7.0-49-g0ac7482
Package Manager:

Generated on Mon Mar 25 2024 14:43:58 for eventAnalysis by doxygen 1.8.5