Exemplo n.º 1
0
Tracter::ComponentBase::ComponentBase()
{
    mObjectName = 0;
    mSize = 0;

    mFrame.period = 1.0f;
    mFrame.size = 1;

    mNOutputs = 0;
    mDownStream = 0;
    mIndefinite = false;
    mMinSize = 0;
    mNInitialised = 0;
    mMinReadAhead = LONG_MAX;
    mMaxReadAhead = 0;
    mMinReadBehind = LONG_MAX;
    mMaxReadBehind = 0;
    mTotalReadAhead = 0;
    mTotalReadBehind = 0;

    mAsync = false;
    mAuxiliary = 0;
    mEndOfData = -1;
    mDot = -1;
    SetClusterSize(1);
}
Exemplo n.º 2
0
DetectorFactory::DetectorFactory() {
	// TODO Auto-generated constructor stub
#if(0)
	SetDetectorType("GLASS");
	Scintillator::SetStartingId(startId);
	Scintillator::SetStartingStripNum();
	int numOfPlanes = 2;
	SetNumOfPlanes(numOfPlanes);
	SetName(rpcName);
	SetZPos(zPos);
	SetLBH(100,100,1);
	Initialize();
	if(numOfPlanes==1){
		//This will be used to create top and bottom scintillator plane
		InsertPlane(new ScintillatorPlane(moduleId,32,zPos,GetLength(),GetBreadth(),GetHeight(),0.,true));
	}
	if(numOfPlanes==2){
		//This will be used to create Detectors
	InsertPlane(new ScintillatorPlane(moduleId,32,zPos,GetLength(),GetBreadth(),GetHeight(),0.,true));
	InsertPlane(new ScintillatorPlane(moduleId,32,zPos,GetLength(),GetBreadth(),GetHeight(),0.,false));
	}
	SetClusterSize(2);
#endif
}