eventAnalysis  7.0-49-g0ac7482
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TGeometrySummaryModule.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 /// 25-Oct-2010: Current responsible for this module is,
6 /// Daniel Roberge (droberge [*a*t*] triumf.ca)
7 ///
8 #ifndef _TGeometrySummaryModule_hxx_seen
9 #define _TGeometrySummaryModule_hxx_seen
10 
11 #include <TClonesArray.h>
12 #include <TGeoNode.h>
13 #include <TGeometryId.hxx>
14 #include <TReconTrack.hxx>
16 
17 namespace ND {
18 class TGeometrySummaryModule;
19 }
20 
22  public:
23  class TDetectorBoundingBox : public TObject {
24  public:
25  virtual ~TDetectorBoundingBox();
26 
27  TVector3 Minimum;
28  TVector3 Maximum;
29 
31  };
32 
33  class TTPCMicroMegasVolumes : public TObject {
34  public:
35  virtual ~TTPCMicroMegasVolumes();
36 
37  std::map<int, std::pair<int, const TGeoNode *> > MMvolumes;
38 
40  };
41 
42  public:
44  const char *name = "GeometrySummary",
45  const char *title = "Geometry Information Summary Module");
46 
47  virtual ~TGeometrySummaryModule();
48 
49  virtual Bool_t ProcessFirstEvent(ND::TND280Event &event);
50 
51  protected:
52  virtual void InitializeBranches();
53 
54  virtual bool FillTree(ND::TND280Event &);
55 
56  void FillBBox(ND::TGeometryId id, TDetectorBoundingBox *box);
57 
58  virtual Bool_t IsEnabledByDefault() const { return kTRUE; }
59 
60  public:
65  *fTECAL6;
67  *fPECAL6;
70  std::map<int, std::pair<int, const TGeoNode *> > MMmap;
71 
72 };
73 
74 #endif
std::map< int, std::pair< int, const TGeoNode * > > MMmap
TDetectorBoundingBox * fP0DActive
ClassDef(TGeometrySummaryModule::TTPCMicroMegasVolumes, 1)
TDetectorBoundingBox * fFGD2Active
virtual Bool_t IsEnabledByDefault() const
Is the module is enabled by default.
virtual void InitializeBranches()
Initialize Branches. Don&#39;t do anything else in this function.
TGeometrySummaryModule(const char *name="GeometrySummary", const char *title="Geometry Information Summary Module")
virtual bool FillTree(ND::TND280Event &)
Fill all the stuff that goes in the output tree.
std::map< int, std::pair< int, const TGeoNode * > > MMvolumes
A base class for analysis output modules which contain event header information.
TDetectorBoundingBox * fFGD1Active
virtual Bool_t ProcessFirstEvent(ND::TND280Event &event)
Is called after the first event is loaded in.
void FillBBox(ND::TGeometryId id, TDetectorBoundingBox *box)
ClassDef(TGeometrySummaryModule::TDetectorBoundingBox, 1)

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