Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DBCALShower_factory_IU.h
Go to the documentation of this file.
1 #ifndef _DBCALShower_factory_IU_
2 #define _DBCALShower_factory_IU_
3 
4 /*
5  * DBCALShower_factory_IU.h
6  * (formerly DBCALShower_factory.h)
7  *
8  * Created by Matthew Shepherd on 3/24/11.
9  *
10  */
11 
12 #include <JANA/JFactory.h>
13 #include <JANA/JEventLoop.h>
14 
15 using namespace jana;
16 
17 #include "BCAL/DBCALShower.h"
18 #include "BCAL/DBCALGeometry.h"
19 
20 #include "TH2F.h"
21 #include <DMatrixDSym.h>
22 
23 class DBCALShower_factory_IU : public JFactory< DBCALShower > {
24 
25 public:
26 
29 
30  const char* Tag(void){return "IU";}
31  jerror_t LoadCovarianceLookupTables(JEventLoop *eventLoop);
32  jerror_t FillCovarianceMatrix(DBCALShower* shower);
33 
34 private:
35 
36  jerror_t evnt(JEventLoop *loop, uint64_t eventnumber);
37  jerror_t brun(JEventLoop *loop, int32_t runnumber);
38  jerror_t erun(void);
39  //jerror_t CreateCovarianceMatrix();
40 
41  int VERBOSE;
43  TH2F *CovarianceLookupTable[5][5];
44 
46  double const_term;
55 
56  double m_zTarget;
57 
59 
60 };
61 
62 #endif
const DBCALGeometry * dBCALGeom