Skip to content
Snippets Groups Projects
Commit 3724cb06 authored by Stephen A. Wood's avatar Stephen A. Wood
Browse files

Merge branch 'develop' into simon-shower

parents 8011c768 903947ee
No related branches found
No related tags found
No related merge requests found
[submodule "podd"]
path = podd
url = git://github.com/sawjlab/podd.git
url = ../podd.git
......@@ -13,6 +13,7 @@
#include "THcParmList.h"
#include "THcHitList.h"
#include "THcDriftChamber.h"
#include "TClass.h"
#include <cstring>
#include <cstdio>
......@@ -32,6 +33,9 @@ THcDriftChamberPlane::THcDriftChamberPlane( const char* name,
{
// Normal constructor with name and description
fTDCHits = new TClonesArray("THcSignalHit",100);
#if ROOT_VERSION_CODE < ROOT_VERSION(5,32,0)
fTDCHitsClass = fTDCHits->GetClass();
#endif
fPlaneNum = planenum;
}
......
......@@ -44,6 +44,8 @@ class THcDriftChamberPlane : public THaSubDetector {
TClonesArray* fTDCHits;
TClass* fTDCHitsClass;
Int_t fPlaneNum;
virtual Int_t ReadDatabase( const TDatime& date );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment