hep.lcd.mc.randomBkgr
Class AddRandomCCDBkg

java.lang.Object
  |
  +--hep.lcd.util.driver.AbstractProcessor
        |
        +--hep.lcd.mc.randomBkgr.AddRandomBkg
              |
              +--hep.lcd.mc.randomBkgr.AddRandomCCDBkg

public final class AddRandomCCDBkg
extends AddRandomBkg

Extracts CCD hits, mix them with bacground hits and put back . Density of background hits is defined by two parameters, passed to class constructor: first is base density in hit/cm**2 at radius 1 cm from the beam, and second is the power to which radius will be rased to define density at radius r. Or it may be completely user-defined function which should implement OneArgumentFunction interface and should be passed as argument to constructor.

Source Code:
AddRandomCCDBkg.java

Fields inherited from class hep.lcd.mc.randomBkgr.AddRandomBkg
dfun, par
 
Fields inherited from class hep.lcd.util.driver.AbstractProcessor
context
 
Constructor Summary
AddRandomCCDBkg(double baseden, double pow)
           
AddRandomCCDBkg(OneArgumentFunction fun)
           
 
Method Summary
 void process(LCDEvent e)
          Called by the driver when this processor should process an event.
 void start()
          A default implementation of Processor.start().
 
Methods inherited from class hep.lcd.util.driver.AbstractProcessor
clearContext, getDebugLevel, getDebugStream, getHistogramLevel, getName, getParameterFile, getParameters, getParameters, getRandom, histogram, init, setContext, setDetector, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddRandomCCDBkg

public AddRandomCCDBkg(double baseden,
                       double pow)

AddRandomCCDBkg

public AddRandomCCDBkg(OneArgumentFunction fun)
Method Detail

start

public void start()
Description copied from class: AbstractProcessor
A default implementation of Processor.start(). Does nothing.
Overrides:
start in class AbstractProcessor

process

public void process(LCDEvent e)
Description copied from interface: Processor
Called by the driver when this processor should process an event. If the processor produces new output it should add it to the event.
Following copied from interface: hep.lcd.util.driver.Processor
Parameters:
event - The event to process


The LCD Group