hep.lcd.recon.tracking
Class BaseSpecifications

java.lang.Object
  |
  +--hep.lcd.recon.tracking.BaseSpecifications
Direct Known Subclasses:
CCDSpecifications, EndCpSpecifications, TPCSpecifications

public abstract class BaseSpecifications
extends Object
implements Specifications

Source Code:
BaseSpecifications.java

Field Summary
protected  boolean areNew
           
 double BField
           
 double CoilExtrap
           
protected  Detector d
           
protected  boolean debug
           
 int DetectorType
           
 double EMCalExtrap
           
 double EMEndExtrap
           
 double HadCalExtrap
           
 double HadEndExtrap
           
 double HalfLength
           
 double InnerRadius
           
 double[] LayOutRad
           
 double[] LayRadii
           
 double[] LrsHalfLength
           
protected  int MaxLayers
           
 double MuonEndExtrap
           
 double MuonExtrap
           
 int NLayers
           
 double NoFieldExtrap
           
 double OuterRadius
           
protected  String root
           
 double RPhiResolution
           
protected  double SetRPhiResolution
           
protected  double SetZResolution
           
 String Type
           
protected  boolean useSetRPhiR
           
protected  boolean useSetZR
           
 double ZResolution
           
 
Constructor Summary
BaseSpecifications()
           
 
Method Summary
 boolean areNew()
          determine if specs have changed since last event
 void findType()
           
 double getBField()
          Get magnetic field of tracking detector.
 double getCoilExtrap()
          Get extrapolation radius for coil.
 int getDetectorType()
          Get detector type as integer Large = 1, Small = 2
 double getEMCalExtrap()
          Get extrapolation radius for central EM calorimeter.
 double getEMEndExtrap()
          Get extrapolation plane for endcap EM calorimeter.
 double getHadCalExtrap()
          Get extrapolation radius for central Had calorimeter.
 double getHadEndExtrap()
          Get extrapolation plane for endcap Had calorimeter.
 double getHalfLength()
          Get half-length of tracking detector.
 double getHalfLength(double radius)
          Get half-length of tracking detector at radius r.
 double getInnerRadius()
          Get inner radius of tracking detector.
 double getLayerOuterRadius(int nl)
           
 double getLayerRadius(int nl)
           
 double getLayerZ(int nl)
           
 double getMuonEndExtrap()
          Get extrapolation plane for endcap Muon chambers.
 double getMuonExtrap()
          Get extrapolation radius for central Muon chamber.
 int getNLayers()
          Get number of layers in tracking detector.
 double getNoFieldExtrap()
          Get extrapolation radius for no field region.
 double getOuterRadius()
          Get outer radius of tracking detector.
 double getRPhiResolution()
          Get r-phi measurement resolution of tracking detector.
 String getType()
          Get type of tracking detector.
 double getZResolution()
          Get z measurement resolution of tracking detector.
 void setRPhiResolution(double res)
           
abstract  void setSpecs(boolean debug)
           
 void setZResolution(double res)
           
 void update(LCDEvent e)
          Update specs if geometry have changed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Type

public String Type

MaxLayers

protected final int MaxLayers

d

protected Detector d

DetectorType

public int DetectorType

InnerRadius

public double InnerRadius

OuterRadius

public double OuterRadius

HalfLength

public double HalfLength

NLayers

public int NLayers

LayRadii

public double[] LayRadii

LayOutRad

public double[] LayOutRad

LrsHalfLength

public double[] LrsHalfLength

RPhiResolution

public double RPhiResolution

ZResolution

public double ZResolution

BField

public double BField

EMCalExtrap

public double EMCalExtrap

EMEndExtrap

public double EMEndExtrap

HadCalExtrap

public double HadCalExtrap

HadEndExtrap

public double HadEndExtrap

CoilExtrap

public double CoilExtrap

NoFieldExtrap

public double NoFieldExtrap

MuonExtrap

public double MuonExtrap

MuonEndExtrap

public double MuonEndExtrap

SetRPhiResolution

protected double SetRPhiResolution

SetZResolution

protected double SetZResolution

useSetRPhiR

protected boolean useSetRPhiR

useSetZR

protected boolean useSetZR

areNew

protected boolean areNew

debug

protected boolean debug

root

protected String root
Constructor Detail

BaseSpecifications

public BaseSpecifications()
Method Detail

getType

public String getType()
Description copied from interface: Specifications
Get type of tracking detector.
Specified by:
getType in interface Specifications

areNew

public boolean areNew()
Description copied from interface: Specifications
determine if specs have changed since last event
Specified by:
areNew in interface Specifications

getDetectorType

public int getDetectorType()
Description copied from interface: Specifications
Get detector type as integer Large = 1, Small = 2
Specified by:
getDetectorType in interface Specifications

getInnerRadius

public double getInnerRadius()
Description copied from interface: Specifications
Get inner radius of tracking detector.
Specified by:
getInnerRadius in interface Specifications

getOuterRadius

public double getOuterRadius()
Description copied from interface: Specifications
Get outer radius of tracking detector.
Specified by:
getOuterRadius in interface Specifications

getHalfLength

public double getHalfLength()
Description copied from interface: Specifications
Get half-length of tracking detector.
Specified by:
getHalfLength in interface Specifications

getHalfLength

public double getHalfLength(double radius)
Description copied from interface: Specifications
Get half-length of tracking detector at radius r.
Specified by:
getHalfLength in interface Specifications

getLayerZ

public double getLayerZ(int nl)
Specified by:
getLayerZ in interface Specifications

getLayerRadius

public double getLayerRadius(int nl)
Specified by:
getLayerRadius in interface Specifications

getLayerOuterRadius

public double getLayerOuterRadius(int nl)
Specified by:
getLayerOuterRadius in interface Specifications

getNLayers

public int getNLayers()
Description copied from interface: Specifications
Get number of layers in tracking detector.
Specified by:
getNLayers in interface Specifications

getRPhiResolution

public double getRPhiResolution()
Description copied from interface: Specifications
Get r-phi measurement resolution of tracking detector.
Specified by:
getRPhiResolution in interface Specifications

getZResolution

public double getZResolution()
Description copied from interface: Specifications
Get z measurement resolution of tracking detector.
Specified by:
getZResolution in interface Specifications

getBField

public double getBField()
Description copied from interface: Specifications
Get magnetic field of tracking detector.
Specified by:
getBField in interface Specifications

getCoilExtrap

public double getCoilExtrap()
Description copied from interface: Specifications
Get extrapolation radius for coil.
Specified by:
getCoilExtrap in interface Specifications

getEMCalExtrap

public double getEMCalExtrap()
Description copied from interface: Specifications
Get extrapolation radius for central EM calorimeter.
Specified by:
getEMCalExtrap in interface Specifications

getEMEndExtrap

public double getEMEndExtrap()
Description copied from interface: Specifications
Get extrapolation plane for endcap EM calorimeter.
Specified by:
getEMEndExtrap in interface Specifications

getHadCalExtrap

public double getHadCalExtrap()
Description copied from interface: Specifications
Get extrapolation radius for central Had calorimeter.
Specified by:
getHadCalExtrap in interface Specifications

getHadEndExtrap

public double getHadEndExtrap()
Description copied from interface: Specifications
Get extrapolation plane for endcap Had calorimeter.
Specified by:
getHadEndExtrap in interface Specifications

getNoFieldExtrap

public double getNoFieldExtrap()
Description copied from interface: Specifications
Get extrapolation radius for no field region.
Specified by:
getNoFieldExtrap in interface Specifications

getMuonExtrap

public double getMuonExtrap()
Description copied from interface: Specifications
Get extrapolation radius for central Muon chamber.
Specified by:
getMuonExtrap in interface Specifications

getMuonEndExtrap

public double getMuonEndExtrap()
Description copied from interface: Specifications
Get extrapolation plane for endcap Muon chambers.
Specified by:
getMuonEndExtrap in interface Specifications

setRPhiResolution

public void setRPhiResolution(double res)
Specified by:
setRPhiResolution in interface Specifications

setZResolution

public void setZResolution(double res)
Specified by:
setZResolution in interface Specifications

update

public void update(LCDEvent e)
Description copied from interface: Specifications
Update specs if geometry have changed
Specified by:
update in interface Specifications

setSpecs

public abstract void setSpecs(boolean debug)

findType

public void findType()


The LCD Group