fastMappingIProcessor

Reads rawCalorimeterHits and applies part I of the mapping. Also see the official documentation.

The elements in the input collection (specified via ADCCollectionName - see below) are assumed to be of type AdcBlock.
The elements in the ouput collection are of type FastCaliceHit.

<!> Not true anymore -- FastCaliceHits are removed from HCAL software, please fix this page! <!>

What does the fastMappingIProcessor do

It loops over all AdcBlock objects and fetches crate, slot, frontend and channel information from the AdcBlock object's get accessors. Then it fetches from it's internal MappingAndAlignment the two corresponding half-modules (upper & lower) for the (crate,slot,fe). Then a module id and module type is calculated from another module id and type ( ...?). After that over all chips in the AdcBlock is looped and depending on the chip nu mber it is assigned to the upper or lower half module. If the module is a coarse one the non existing cells are sorted out (...?). Then the adc value is fetched via AdcBlock::getAdcVal() and a new FastCaliceHit object is created.

Via the pickmodule parameter in the steering file a single module can be selected - othervise all modules are processed.

Parameters

Name

Type

Description

Syntax

ADCCollectionName

string

The name of the adc collection (input) to be used

 ADCCollectionName collectionName 

ModuleConnectionCollectionName

string

Name of the conditions data collection which describes the connection between modules and the DAQ front-ends (folder /CaliceEcal/module_connection)

 ModuleConnectionCollectionName collectionName 

ModuleDescriptionCollectionName

string

Name of the conditions data collection which contains the description of the module location (folder /CaliceEcal/module_description)

 ModuleDescriptionCollectionName collectionName 

ModuleLocationCollectionName

string

Name of the conditions data collection which contains the description of the module location (folder /CaliceEcal/module_location)

 ModuleLocationCollectionName collectionName 

OutputCollectionName

string

Name of the output collection

 OutputCollectionName collectionName 

PickModule

int

Select only a single module

 PickModule moduleNumber 

StageCollectionName

string

Name of the conditions data collection which contains stage position data

 StageCollectionName collectionName 

ViewMapping

int

View the mapping between channels and modules when ever the module location or module connection conditions data change (set to 0 or !=0)

 ViewMapping i 

MarlinProcessorFastMappingIProcessor (last edited 2009-06-18 16:28:57 by JörgenSamson)