ATLAS Offline Software
IL1CaloxAODOfflineTriggerTowerTools.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 // ***************************************************************************
5 // * Author: John Morris (john.morris@cern.ch) *
6 // * Queen Mary University of London *
7 // * *
8 
9 #ifndef _TRIGGER_TRIGT1_TRIGT1CALOCALIBTOOLINTERFACES_IL1CALOXAODOFFLINETRIGGERTOWERTOOLS_H_
10 #define _TRIGGER_TRIGT1_TRIGT1CALOCALIBTOOLINTERFACES_IL1CALOXAODOFFLINETRIGGERTOWERTOOLS_H_
11 
12 // Framework include(s):
13 #include "AsgTools/IAsgTool.h"
14 
15 #include <vector>
16 #include <map>
17 
18 class CaloCell;
19 class CaloCellContainer;
20 class LArDigitContainer;
22 class Identifier;
23 class TileTTL1Cell;
26 
27 namespace coral{
28  class AttributeList;
29 }
30 
33 
34 namespace LVL1{
35 
37 
40 
41  public:
42 
44  virtual StatusCode initCaloCells() = 0;
45 
46  virtual std::vector<L1CaloRxCoolChannelId> receivers( const xAOD::TriggerTower& tt ) const = 0;
47  virtual std::vector<unsigned int> receiversId( const xAOD::TriggerTower& tt ) const = 0;
48  virtual unsigned int isTile( const xAOD::TriggerTower& tt ) const = 0;
49 
50  virtual std::vector<const CaloCell*> getCaloCells( const xAOD::TriggerTower& tt ) const = 0;
51  virtual unsigned int nCaloCells( const xAOD::TriggerTower& tt ) const = 0;
52  virtual std::vector<unsigned int> nCaloCellsByLayer( const xAOD::TriggerTower& tt ) const = 0;
53 // virtual std::vector<unsigned int> nCaloCellsByReceiver( const xAOD::TriggerTower& tt ) const = 0;
54 // virtual std::vector<unsigned int> nCaloCellsByReceiverByLayer( const xAOD::TriggerTower& tt ) const = 0;
55 
56  virtual std::vector<std::vector<const CaloCell*>> caloCellsByReceiver( const xAOD::TriggerTower& tt ) const = 0;
57  virtual std::vector<std::vector<std::vector<const CaloCell*>>> caloCellsByLayerByReceiver( const xAOD::TriggerTower& tt ) const = 0;
58 
59  virtual float caloCellsEnergy( const xAOD::TriggerTower& tt ) const = 0;
60  virtual float caloCellsET( const xAOD::TriggerTower& tt ) const = 0;
61  virtual std::vector<float> caloCellsEnergyByLayer( const xAOD::TriggerTower& tt ) const = 0;
62  virtual std::vector<float> caloCellsETByLayer( const xAOD::TriggerTower& tt ) const = 0;
63 
64  virtual std::vector<float> caloCellsEnergyByReceiver( const xAOD::TriggerTower& tt ) const = 0;
65  virtual std::vector<float> caloCellsETByReceiver( const xAOD::TriggerTower& tt ) const = 0;
66  virtual std::vector<std::vector<float>> caloCellsEnergyByLayerByReceiver( const xAOD::TriggerTower& tt ) const = 0;
67  virtual std::vector<std::vector<float>> caloCellsETByLayerByReceiver( const xAOD::TriggerTower& tt ) const = 0;
68 
69 // virtual unsigned int badCaloCells( const xAOD::TriggerTower& tt ) const = 0;
70  virtual float caloCellsQuality( const xAOD::TriggerTower& tt ) const = 0;
71 // virtual float nCaloCellsNonNominal( const xAOD::TriggerTower& tt ) const = 0;
72 // virtual std::vector<float> nCaloCellsNonNominalByLayer( const xAOD::TriggerTower& tt ) const = 0;
73 // virtual std::vector<std::vector<float>> nCaloCellsNonNominalByReceiverByLayer( const xAOD::TriggerTower& tt ) const = 0;
74 // virtual float nonNominalMeanScale( const xAOD::TriggerTower& tt ) const = 0;
75 // virtual std::vector<float> nonNominalMeanScaleByLayer( const xAOD::TriggerTower& tt ) const = 0;
76 // virtual std::vector<float> nonNominalMeanScaleByReceiver( const xAOD::TriggerTower& tt ) const = 0;
77 // virtual std::vector<std::vector<float>> nonNominalMeanScaleByReceiverByLayer( const xAOD::TriggerTower& tt ) const = 0;
78 
79  // Database access
80  virtual unsigned int ModuleId( const xAOD::TriggerTower& tt ) const = 0;
81  virtual unsigned int ErrorCode( const xAOD::TriggerTower& tt ) const = 0;
82  virtual unsigned long long PprDacScanResultsTimeStamp( const xAOD::TriggerTower& tt ) const = 0;
83  virtual unsigned long long PprPedestalRunResultsTimeStamp( const xAOD::TriggerTower& tt ) const = 0;
84  virtual unsigned long long PprNoiseRunResultsTimeStamp( const xAOD::TriggerTower& tt ) const = 0;
85  virtual unsigned long long PprTimingResultsTimeStamp( const xAOD::TriggerTower& tt ) const = 0;
86  virtual unsigned long long PprSatBcidResultsTimeStamp( const xAOD::TriggerTower& tt ) const = 0;
87  virtual unsigned long long PprFirFilterResultsTimeStamp( const xAOD::TriggerTower& tt ) const = 0;
88  virtual unsigned long long PprLutValuesResultsTimeStamp( const xAOD::TriggerTower& tt ) const = 0;
89  virtual double DacOffset( const xAOD::TriggerTower& tt ) const = 0;
90  virtual double DacSlope( const xAOD::TriggerTower& tt ) const = 0;
91  virtual double PedMean( const xAOD::TriggerTower& tt ) const = 0;
92  virtual unsigned int PedValue( const xAOD::TriggerTower& tt ) const = 0;
93  virtual unsigned int FullDelayData( const xAOD::TriggerTower& tt ) const = 0;
94  virtual unsigned short int SyncDelayBcid( const xAOD::TriggerTower& tt ) const = 0;
95  virtual unsigned short int InBcidNegedge( const xAOD::TriggerTower& tt ) const = 0;
96  virtual unsigned short int ExtBcidThreshold( const xAOD::TriggerTower& tt ) const = 0;
97  virtual unsigned short int SatBcidThreshLow( const xAOD::TriggerTower& tt ) const = 0;
98  virtual unsigned short int SatBcidThreshHigh( const xAOD::TriggerTower& tt ) const = 0;
99  virtual unsigned short int SatBcidLevel( const xAOD::TriggerTower& tt ) const = 0;
100  virtual unsigned short int BcidEnergyRangeLow( const xAOD::TriggerTower& tt ) const = 0;
101  virtual unsigned short int BcidEnergyRangeHigh( const xAOD::TriggerTower& tt ) const = 0;
102  virtual unsigned short int FirStartBit( const xAOD::TriggerTower& tt ) const = 0;
103  virtual short FirCoeff1( const xAOD::TriggerTower& tt ) const = 0;
104  virtual short FirCoeff2( const xAOD::TriggerTower& tt ) const = 0;
105  virtual short FirCoeff3( const xAOD::TriggerTower& tt ) const = 0;
106  virtual short FirCoeff4( const xAOD::TriggerTower& tt ) const = 0;
107  virtual short FirCoeff5( const xAOD::TriggerTower& tt ) const = 0;
108  virtual unsigned short LutStrategy( const xAOD::TriggerTower& tt ) const = 0;
109  virtual unsigned short LutOffset( const xAOD::TriggerTower& tt ) const = 0;
110  virtual unsigned short LutNoiseCut( const xAOD::TriggerTower& tt ) const = 0;
111  virtual unsigned short LutSlope( const xAOD::TriggerTower& tt ) const = 0;
112 
113  virtual unsigned int DeadChannel( const xAOD::TriggerTower& tt ) const = 0;
114  virtual unsigned int DisabledTower( const xAOD::TriggerTower& tt ) const = 0;
115 
116  virtual float RxGain( const xAOD::TriggerTower& tt ) const = 0;
117  virtual unsigned int RxStatus( const xAOD::TriggerTower& tt ) const = 0;
118 
119  };
120 }
121 #endif
LVL1::IL1CaloxAODOfflineTriggerTowerTools::BcidEnergyRangeLow
virtual unsigned short int BcidEnergyRangeLow(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::PprSatBcidResultsTimeStamp
virtual unsigned long long PprSatBcidResultsTimeStamp(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::FirCoeff1
virtual short FirCoeff1(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::SatBcidThreshLow
virtual unsigned short int SatBcidThreshLow(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::DeadChannel
virtual unsigned int DeadChannel(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::nCaloCells
virtual unsigned int nCaloCells(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::isTile
virtual unsigned int isTile(const xAOD::TriggerTower &tt) const =0
TriggerTowerContainer.h
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
LVL1::IL1CaloxAODOfflineTriggerTowerTools::FirCoeff4
virtual short FirCoeff4(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::caloCellsET
virtual float caloCellsET(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::receivers
virtual std::vector< L1CaloRxCoolChannelId > receivers(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::FirCoeff2
virtual short FirCoeff2(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::FirCoeff3
virtual short FirCoeff3(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::caloCellsEnergyByReceiver
virtual std::vector< float > caloCellsEnergyByReceiver(const xAOD::TriggerTower &tt) const =0
TileTTL1Cell
Definition: TileTTL1Cell.h:37
python.PyKernel.AttributeList
AttributeList
Definition: PyKernel.py:36
TileDigitsContainer
Definition: TileDigitsContainer.h:13
LVL1::IL1CaloxAODOfflineTriggerTowerTools::LutSlope
virtual unsigned short LutSlope(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::caloCellsETByLayer
virtual std::vector< float > caloCellsETByLayer(const xAOD::TriggerTower &tt) const =0
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition: CondAttrListCollection.h:52
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::IL1CaloxAODOfflineTriggerTowerTools::PedMean
virtual double PedMean(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::SatBcidLevel
virtual unsigned short int SatBcidLevel(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::DacOffset
virtual double DacOffset(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::InBcidNegedge
virtual unsigned short int InBcidNegedge(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::nCaloCellsByLayer
virtual std::vector< unsigned int > nCaloCellsByLayer(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::FirCoeff5
virtual short FirCoeff5(const xAOD::TriggerTower &tt) const =0
coral
Definition: ISecondaryEventSelector.h:19
LVL1::IL1CaloxAODOfflineTriggerTowerTools::caloCellsEnergy
virtual float caloCellsEnergy(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::caloCellsETByReceiver
virtual std::vector< float > caloCellsETByReceiver(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::LutStrategy
virtual unsigned short LutStrategy(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::ExtBcidThreshold
virtual unsigned short int ExtBcidThreshold(const xAOD::TriggerTower &tt) const =0
L1CaloRxCoolChannelId
Definition: L1CaloRxCoolChannelId.h:10
LVL1::IL1CaloxAODOfflineTriggerTowerTools::caloCellsETByLayerByReceiver
virtual std::vector< std::vector< float > > caloCellsETByLayerByReceiver(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::PprPedestalRunResultsTimeStamp
virtual unsigned long long PprPedestalRunResultsTimeStamp(const xAOD::TriggerTower &tt) const =0
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::IL1CaloxAODOfflineTriggerTowerTools::PprFirFilterResultsTimeStamp
virtual unsigned long long PprFirFilterResultsTimeStamp(const xAOD::TriggerTower &tt) const =0
xAOD::TriggerTower_v2
Description of TriggerTower_v2.
Definition: TriggerTower_v2.h:49
LVL1::IL1CaloxAODOfflineTriggerTowerTools::caloCellsEnergyByLayer
virtual std::vector< float > caloCellsEnergyByLayer(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::PprLutValuesResultsTimeStamp
virtual unsigned long long PprLutValuesResultsTimeStamp(const xAOD::TriggerTower &tt) const =0
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
LVL1::IL1CaloxAODOfflineTriggerTowerTools::FullDelayData
virtual unsigned int FullDelayData(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::PprNoiseRunResultsTimeStamp
virtual unsigned long long PprNoiseRunResultsTimeStamp(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::RxGain
virtual float RxGain(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::caloCellsEnergyByLayerByReceiver
virtual std::vector< std::vector< float > > caloCellsEnergyByLayerByReceiver(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::LutOffset
virtual unsigned short LutOffset(const xAOD::TriggerTower &tt) const =0
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
LVL1::IL1CaloxAODOfflineTriggerTowerTools::ErrorCode
virtual unsigned int ErrorCode(const xAOD::TriggerTower &tt) const =0
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
LVL1::IL1CaloxAODOfflineTriggerTowerTools::caloCellsByReceiver
virtual std::vector< std::vector< const CaloCell * > > caloCellsByReceiver(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::caloCellsByLayerByReceiver
virtual std::vector< std::vector< std::vector< const CaloCell * > > > caloCellsByLayerByReceiver(const xAOD::TriggerTower &tt) const =0
TriggerTower.h
LVL1::IL1CaloxAODOfflineTriggerTowerTools::SatBcidThreshHigh
virtual unsigned short int SatBcidThreshHigh(const xAOD::TriggerTower &tt) const =0
LArDigitContainer
Container class for LArDigit.
Definition: LArDigitContainer.h:24
LVL1::IL1CaloxAODOfflineTriggerTowerTools::receiversId
virtual std::vector< unsigned int > receiversId(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::LutNoiseCut
virtual unsigned short LutNoiseCut(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::initCaloCells
virtual StatusCode initCaloCells()=0
Declare the interface that the class provides.
LVL1::IL1CaloxAODOfflineTriggerTowerTools::ModuleId
virtual unsigned int ModuleId(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::PedValue
virtual unsigned int PedValue(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::getCaloCells
virtual std::vector< const CaloCell * > getCaloCells(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::RxStatus
virtual unsigned int RxStatus(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::caloCellsQuality
virtual float caloCellsQuality(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools
Definition: IL1CaloxAODOfflineTriggerTowerTools.h:36
LVL1::IL1CaloxAODOfflineTriggerTowerTools::FirStartBit
virtual unsigned short int FirStartBit(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::DacSlope
virtual double DacSlope(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::PprDacScanResultsTimeStamp
virtual unsigned long long PprDacScanResultsTimeStamp(const xAOD::TriggerTower &tt) const =0
TileDCSDataPlotter.tt
tt
Definition: TileDCSDataPlotter.py:874
LVL1::IL1CaloxAODOfflineTriggerTowerTools::DisabledTower
virtual unsigned int DisabledTower(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::BcidEnergyRangeHigh
virtual unsigned short int BcidEnergyRangeHigh(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::SyncDelayBcid
virtual unsigned short int SyncDelayBcid(const xAOD::TriggerTower &tt) const =0
LVL1::IL1CaloxAODOfflineTriggerTowerTools::PprTimingResultsTimeStamp
virtual unsigned long long PprTimingResultsTimeStamp(const xAOD::TriggerTower &tt) const =0
Identifier
Definition: IdentifierFieldParser.cxx:14