-
Stephen A. Wood authoredStephen A. Wood authored
THcDriftChamber.cxx 44.68 KiB
/** \class ThcDriftChamber
\ingroup DetSupport
Subdetector class to hold a bunch of planes constituting a chamber
This class will be created by the THcDC class which will also create
the plane objects.
The THcDC class will then pass this class a list of the planes.
*/
#include "THcDriftChamber.h"
#include "THcDC.h"
#include "THcDCHit.h"
#include "THcGlobals.h"
#include "THcParmList.h"
#include "VarDef.h"
#include "VarType.h"
#include "THaTrack.h"
#include "TClonesArray.h"
#include "TMath.h"
#include "TVectorD.h"
#include "THcSpacePoint.h"
#include "THaApparatus.h"
#include "THaTrackProj.h"
#include <cstring>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <iomanip>
using namespace std;
//_____________________________________________________________________________
THcDriftChamber::THcDriftChamber(
const char* name, const char* description,
const Int_t chambernum, THaDetectorBase* parent ) :
THaSubDetector(name,description,parent)
{
// Constructor
// fTrackProj = new TClonesArray( "THaTrackProj", 5 );
fTrackProj = NULL;
fNPlanes = 0; // No planes until we make them
fChamberNum = chambernum;
fSpacePoints = new TClonesArray("THcSpacePoint",10);
fHMSStyleChambers = 0; // Default
}
//_____________________________________________________________________________
THcDriftChamber::THcDriftChamber() :
THaSubDetector()
{
// Constructor
fTrackProj = NULL;
fSpacePoints = NULL;
fIsInit = 0;
}
//_____________________________________________________________________________
void THcDriftChamber::Setup(const char* name, const char* description)
{
}