Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /analysis/JS-Jet/CaloStatusMapper/README.md is written in an unsupported language. File is not indexed.

0001 # Calo Status Mapper
0002 
0003 ### Author:
0004 Derek Anderson
0005 
0006 ### Description:
0007 A Fun4All QA module to plot the no. of towers as a function of
0008 their eta, phi indices with a given status (good, hot, etc.).
0009 Also tracks the average number of towers with a given status
0010 per event. The macro `Fun4All_TestCaloStatusMapper.C` illustrates
0011 basic usage of the module.
0012 
0013 The module can be pointed at any number of nodes holding `TowerInfo`
0014 objects. For example, if the EMCal has been retowered, then one
0015 could add it to the list of nodes to histogram via:
0016 
0017 
0018 ```
0019   cfg_mapper.inNodeNames.push_back(
0020     {"TOWERINFO_CALIB_CEMC_RETOWER", CaloStatusMapperDefs::Calo::HCal}
0021   );
0022 ```
0023 
0024 The `CaloStatusMapperDefs::Calo::HCal` indicates what geometry to
0025 use (i.e. what range of eta/phi indices to expect). At the moment,
0026 only the EMCal and I/OHCal geometries are supported.