ATLAS Offline Software
Loading...
Searching...
No Matches
D3PD::LArSCHitFillerTool Class Reference

Block filler tool for EM samplings from a CaloCluster. More...

#include <LArSCHitFillerTool.h>

Inheritance diagram for D3PD::LArSCHitFillerTool:

Public Member Functions

 LArSCHitFillerTool (const std::string &type, const std::string &name, const IInterface *parent)
 Standard Gaudi tool constructor.
virtual StatusCode initialize ()
 Book variables for this block.
virtual StatusCode book ()
 Book variables for this block.
virtual StatusCode fill (const LArHitContainer &p)
 Fill one block — type-safe version.
 BlockFillerToolImpl (const std::string &type, const std::string &name, const IInterface *parent)
 Standard Gaudi tool constructor.
virtual StatusCode configureD3PD (IAddVariable *tree, const std::type_info &ti)
 Configure during initialization: type-check.
StatusCode configureD3PD (IAddVariable *tree)
 Configure the parent tree.
virtual StatusCode fillUntyped (const void *p, bool again=false)
 Fill one block.
virtual StatusCode fillAgain (const LArHitContainer &p)
 Fill one block, after AGAIN has been returned (type-safe).
virtual StatusCode addVariable (const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
 Add a variable to the tuple.
StatusCode addVariable (const std::string &name, LArHitContainer *&ptr, const std::string &docstring="")
 Make the template implementation from IAddVariable visible.
StatusCode addVariable (const std::string &name, LArHitContainer *&ptr, const std::string &docstring, const U &defval)
 Make the template implementation from IAddVariable visible.
virtual StatusCode addDimensionedVariable (const std::string &name, const std::type_info &ti, void *&ptr, const std::string &dim, const std::string &docstring="", const void *defval=0)
 Add a variable to the tuple.
StatusCode addDimensionedVariable (const std::string &name, LArHitContainer *&ptr, const std::string &dim, const std::string &docstring="")
 Add a variable to the tuple.
StatusCode addDimensionedVariable (const std::string &name, LArHitContainer *&ptr, const std::string &dim, const std::string &docstring, const U &defval)
 Add a variable to the tuple.

Protected Member Functions

StatusCode configureImpl (IAddVariable *tree, const std::type_info &ti, const std::type_info &fill_ti)
 Configure during initialization: type-check.
StatusCode configureImpl (IAddVariable *tree, const std::type_info &ti, const std::vector< const std::type_info * > &tis, size_t &which)
 Configure during initialization: type-check.
StatusCode convert (void const *&p) const
 Do type conversion.

Protected Attributes

ObjectMetadata m_metadata
 Metadata about the variables created by this object.

Private Attributes

const LArEM_IDm_emid
const LArFCAL_IDm_fcalid
const LArHEC_IDm_hecid
const TileIDm_tileid
const LArOnlineIDm_onlineHelper
const ILArfSamplm_dd_fSampl
int * m_nSC
 parameters
std::vector< double > * m_E
std::vector< double > * m_eta
std::vector< double > * m_phi
std::vector< double > * m_Eoff
std::vector< double > * m_Et
std::vector< double > * m_fsampl
std::vector< int > * m_calo
std::vector< int > * m_region
std::vector< int > * m_sampling
std::vector< int > * m_ieta
std::vector< int > * m_jphi
std::vector< unsigned int > * m_offlId
std::vector< float > m_etaCut
std::vector< float > m_phiCut
std::vector< unsigned int > m_caloNums
std::vector< unsigned int > m_caloLayers
bool m_caloEtaSelection
bool m_caloPhiSelection
bool m_caloLayerSelection
bool m_caloSelection
ToolHandle< ICaloSuperCellIDToolm_scidtool
 Property: Offline / supercell mapping tool.
SG::ReadCondHandleKey< CaloSuperCellDetDescrManagerm_caloSuperCellMgrKey
const CaloCell_SuperCell_IDm_sc_idHelper
 idHlper
std::string m_prefix
 Property: the variable prefix for this block.
std::string m_suffix
 Property: the variable prefix for this block.
std::string m_blockName
 Property: the name of this block.
TypeConverter m_converter
 Helper to do type conversions.
IAddVariablem_tree
 Reference to the block name.

Static Private Attributes

static const std::string s_emptyString
 Used to provide a default value for blockName.

Detailed Description

Block filler tool for EM samplings from a CaloCluster.

Definition at line 48 of file LArSCHitFillerTool.h.

Constructor & Destructor Documentation

◆ LArSCHitFillerTool()

D3PD::LArSCHitFillerTool::LArSCHitFillerTool ( const std::string & type,
const std::string & name,
const IInterface * parent )

Standard Gaudi tool constructor.

Parameters
typeThe name of the tool type.
nameThe tool name.
parentThe tool's Gaudi parent.

Definition at line 35 of file LArSCHitFillerTool.cxx.

39 : BlockFillerTool<LArHitContainer> (type, name, parent),
40 m_dd_fSampl (nullptr),
41 m_caloEtaSelection( false ),
42 m_caloPhiSelection( false ),
43 m_caloLayerSelection( false ),
44 m_caloSelection( false ),
45 m_scidtool ("CaloSuperCellIDTool")
46 {
47
48 declareProperty( "CaloEtaCut", m_etaCut );
49 declareProperty( "CaloPhiCut", m_phiCut );
50 declareProperty( "CaloLayers", m_caloLayers );
51 declareProperty( "CaloDetectors", m_caloNums );
52 // 1=EMB; 2=EMEC Outer Wheel; 3=EMEC Inner Wheel; 4=HEC; 5=FCAL
53
54 declareProperty ("SCIDTool", m_scidtool,
55 "Offline / supercell mapping tool.");
56
57 LArSCHitFillerTool::book().ignore(); // Avoid coverity warnings.
58}
virtual StatusCode book()
Book variables for this block.
ToolHandle< ICaloSuperCellIDTool > m_scidtool
Property: Offline / supercell mapping tool.
std::vector< float > m_phiCut
std::vector< unsigned int > m_caloLayers
const ILArfSampl * m_dd_fSampl
std::vector< unsigned int > m_caloNums
std::vector< float > m_etaCut

Member Function Documentation

◆ addDimensionedVariable() [1/3]

StatusCode D3PD::AddVariable::addDimensionedVariable ( const std::string & name,
const std::type_info & ti,
void *& ptr,
const std::string & dim,
const std::string & docstring = "",
const void * defval = 0 )
virtualinherited

Add a variable to the tuple.

Parameters
nameThe name of the variable.
typeThe type of the variable.
ptrPointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill().
dimDimension for the variable. (Presently unimplemented!)
docstringDocumentation string for this variable.
defvalPointer to the default value to use for this variable. Null for no default (generally means to fill with zeros). Of the type given by ti. Only works for basic types.

If called from the constructor, the only effect is to clear ptr.

Definition at line 119 of file AddVariable.cxx.

129{
130 if (!m_tree) {
131 // Called from constructor --- just initialize pointer.
132 ptr = 0;
133 return StatusCode::SUCCESS;
134 }
135
137 ti, ptr, dim,
138 docstring, defval ) );
140 ti, ptr, dim,
142}
#define CHECK(...)
Evaluate an expression and check for errors.
virtual StatusCode addDimensionedVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &dim, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
Type-safe wrapper for block filler tools.

◆ addDimensionedVariable() [2/3]

StatusCode D3PD::IAddVariable::addDimensionedVariable ( const std::string & name,
LArHitContainer *& ptr,
const std::string & dim,
const std::string & docstring,
const U & defval )
inherited

Add a variable to the tuple.

Parameters
nameThe name of the variable.
ptrPointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill().
dimDimension for the variable. (Presently unimplemented!)
docstringDocumentation string for this variable.
defvalPointer to the default value to use for this variable. Only works for basic types.

If called from the constructor, the only effect is to clear ptr.

◆ addDimensionedVariable() [3/3]

StatusCode D3PD::IAddVariable::addDimensionedVariable ( const std::string & name,
LArHitContainer *& ptr,
const std::string & dim,
const std::string & docstring = "" )
inherited

Add a variable to the tuple.

Parameters
nameThe name of the variable.
ptrPointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill().
dimDimension for the variable. (Presently unimplemented!)
docstringDocumentation string for this variable.

If called from the constructor, the only effect is to clear ptr.

◆ addVariable() [1/3]

StatusCode D3PD::AddVariable::addVariable ( const std::string & name,
const std::type_info & ti,
void *& ptr,
const std::string & docstring = "",
const void * defval = 0 )
virtualinherited

Add a variable to the tuple.

Parameters
nameThe name of the variable.
typeThe type of the variable.
ptrPointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill().
docstringDocumentation string for this variable.
defvalPointer to the default value to use for this variable. Null for no default (generally means to fill with zeros). Of the type given by ti. Only works for basic types.

If called from the constructor, the only effect is to clear ptr.

Definition at line 93 of file AddVariable.cxx.

90{
91 if (!m_tree) {
92 // Called from constructor --- just initialize pointer.
93 ptr = 0;
95 }
96
98 ti, ptr, docstring, defval ) );
101}
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.

◆ addVariable() [2/3]

StatusCode D3PD::IAddVariable::addVariable ( const std::string & name,
LArHitContainer *& ptr,
const std::string & docstring,
const U & defval )
inherited

Make the template implementation from IAddVariable visible.

◆ addVariable() [3/3]

StatusCode D3PD::IAddVariable::addVariable ( const std::string & name,
LArHitContainer *& ptr,
const std::string & docstring = "" )
inherited

Make the template implementation from IAddVariable visible.

◆ BlockFillerToolImpl()

( const std::string & type,
const std::string & name,
const IInterface * parent )
inherited

Standard Gaudi tool constructor.

Parameters
typeThe name of the tool type.
nameThe tool name.
parentThe tool's Gaudi parent.

◆ book()

StatusCode D3PD::LArSCHitFillerTool::book ( )
virtual

Book variables for this block.

Implements D3PD::BlockFillerTool< LArHitContainer >.

Definition at line 152 of file LArSCHitFillerTool.cxx.

153{
154 CHECK( addVariable ("nSC", m_nSC ));
155 CHECK( addVariable ("E", m_E));
156 CHECK( addVariable ("eta", m_eta));
157 CHECK( addVariable ("phi", m_phi));
158 CHECK( addVariable ("Eoff", m_Eoff));
159 CHECK( addVariable ("Et", m_Et));
160 CHECK( addVariable ("fsampl", m_fsampl));
161 CHECK( addVariable ("calo", m_calo));
162 CHECK( addVariable ("region", m_region));
163 CHECK( addVariable ("sampling", m_sampling));
164 CHECK( addVariable ("ieta", m_ieta));
165 CHECK( addVariable ("jphi", m_jphi));
166 //CHECK( addVariable ("hid", m_hashid));
167 CHECK( addVariable ("IdCells", m_offlId));
168
169 return StatusCode::SUCCESS;
170}
StatusCode addVariable(const std::string &name, T *&ptr, const std::string &docstring="")
Add a variable to the tuple.
std::vector< unsigned int > * m_offlId
std::vector< int > * m_jphi
std::vector< int > * m_calo
std::vector< double > * m_E
std::vector< double > * m_Eoff
std::vector< double > * m_Et
std::vector< double > * m_eta
std::vector< int > * m_region
std::vector< double > * m_phi
std::vector< int > * m_ieta
std::vector< double > * m_fsampl
std::vector< int > * m_sampling

◆ configureD3PD() [1/2]

StatusCode D3PD::AddVariable::configureD3PD ( IAddVariable * tree)
inherited

Configure the parent tree.

Parameters
treeThe parent IAddVariable instance.

Definition at line 69 of file AddVariable.cxx.

62{
63 m_tree = tree;
64 m_metadata.clear();
66}

◆ configureD3PD() [2/2]

virtual StatusCode D3PD::BlockFillerTool< LArHitContainer >::configureD3PD ( IAddVariable * tree,
const std::type_info & ti )
virtualinherited

Configure during initialization: type-check.

Parameters
treeOur parent for tuple making.
tiGives the type of the object being passed to fillUntyped.

configureD3PD should check that the type of the object coming as input is compatible with what it expects, and raise an error otherwise.

◆ configureImpl() [1/2]

StatusCode D3PD::BlockFillerToolImpl::configureImpl ( IAddVariable * tree,
const std::type_info & ti,
const std::type_info & fill_ti )
protectedinherited

Configure during initialization: type-check.

Parameters
treeOur parent for tuple making.
tiGives the type of the object being passed to fillUntyped.
fill_tiis the type of object that the user code will expect.

This is the common implementation for the configureD3PD method of IBlockFillerTool. It checks that the type of the object coming as input is compatible with what the user code is expecting, and raises an error otherwise.

Definition at line 70 of file BlockFillerToolImpl.cxx.

58{
60 CHECK( m_converter.init (ti, fill_ti) );
61
63}

◆ configureImpl() [2/2]

StatusCode D3PD::BlockFillerToolImpl::configureImpl ( IAddVariable * tree,
const std::type_info & ti,
const std::vector< const std::type_info * > & tis,
size_t & which )
protectedinherited

Configure during initialization: type-check.

Parameters
treeOur parent for tuple making.
tiGives the type of the object being passed to fillUntyped.
tisList of possible input types that we can accept.
[out]whichIndex of the accepted type.

This is the common implementation for the configureD3PD method of IBlockFillerTool. It checks that the type of the object coming as input is compatible with what the user code is expecting, and raises an error otherwise.

This version allows for one of a set of types to match. If successful, WHICH is set to the index (0-based) of the matching type.

Definition at line 91 of file BlockFillerToolImpl.cxx.

87{
89 CHECK( m_converter.init (ti, tis, which) );
91}

◆ convert()

StatusCode D3PD::BlockFillerToolImpl::convert ( void const *& p) const
protectedinherited

Do type conversion.

Parameters
p[in,out]Pointer to convert.

On entry, p is a pointer to an object of the type that was passed into configureImpl as ti. Convert the pointer to point to an object of the type that was given as fill_ti. If the conversion fails, the pointer is set to 0 (and FAILURE is returned).

Definition at line 107 of file BlockFillerToolImpl.cxx.

106{
107 p = m_converter.convertUntyped (p);
108 if (!p) {
110 << "Pointer conversion from " << m_converter.srcName() << " to "
111 << m_converter.dstName() << "failed.";
112 return StatusCode::FAILURE;
113 }
114 return StatusCode::SUCCESS;
115}
#define REPORT_MESSAGE(LVL)
Report a message.

◆ fill()

StatusCode D3PD::LArSCHitFillerTool::fill ( const LArHitContainer & p)
virtual

Fill one block — type-safe version.

Parameters
pThe input object.

This is called once per object. The caller is responsible for arranging that all the pointers for booked variables are set appropriately upon entry.

Implements D3PD::BlockFillerTool< LArHitContainer >.

Definition at line 181 of file LArSCHitFillerTool.cxx.

181 {
182
183 std::map<int, double> sc_E;
184
185 typedef LArHitContainer CONTAINER;
186 CONTAINER::const_iterator f_hit = p.begin();
187 CONTAINER::const_iterator l_hit = p.end();
188 for( ; f_hit != l_hit; ++f_hit ) {
189 const LArHit* hit = ( *f_hit );
190 const Identifier cell_id = hit->cellID();
191 Identifier sc_offl_id = m_scidtool->offlineToSuperCellID (cell_id);
192 int hashId = m_sc_idHelper->calo_cell_hash( sc_offl_id) ;
193 if (hashId < 999999)
194 sc_E[hashId] += hit->energy();
195 }
196
197
198 int nSC = 0;
199
200 std::map<int, double>::const_iterator it = sc_E.begin();
201 std::map<int, double>::const_iterator it_e = sc_E.end();
202
203 SG::ReadCondHandle<CaloSuperCellDetDescrManager> caloSuperCellMgrHandle{m_caloSuperCellMgrKey,Gaudi::Hive::currentContext()};
204 const CaloSuperCellDetDescrManager* sc_dd_mgr = *caloSuperCellMgrHandle;
205
206 for ( ; it!=it_e ; ++it ) {
207 int hashId = (*it).first;
208 Identifier offlId = m_sc_idHelper->cell_id(hashId) ;
209 float fsampl = m_dd_fSampl->FSAMPL(offlId);
210 double E = (*it).second;
211
212 // int pn = m_sc_idHelper->pos_neg(offlId);
213 int calo = m_sc_idHelper->sub_calo(hashId);
214 int region = m_sc_idHelper->region(offlId);
215 unsigned int lay = m_sc_idHelper->sampling(offlId);
216 int ieta = m_sc_idHelper->eta(offlId);
217 int jphi = m_sc_idHelper->phi(offlId);
218 float feta = sc_dd_mgr->get_element(offlId)->eta();
219 float fphi = sc_dd_mgr->get_element(offlId)->phi();
220 int lardet = calo;
221
222 if (m_caloSelection) {
223 std::vector< unsigned int >::const_iterator theFound =
224 std::find( m_caloNums.begin(), m_caloNums.end(), lardet );
225 if( theFound == m_caloNums.end() ) continue;
226 }
227 if ( m_caloEtaSelection ) {
228 if (feta<m_etaCut[0] || feta>m_etaCut[1]) continue;
229 }
230 if ( m_caloPhiSelection ) {
231 if (fphi<m_phiCut[0] || fphi>m_phiCut[1]) continue;
232 }
233 if ( m_caloLayerSelection ) {
234 bool tmp=false;
235 for( unsigned int j=0; j<m_caloLayers.size(); j++) {
236 if (m_caloLayers[j]==lay) tmp=true;
237 }
238 if (!tmp) continue;
239 }
240 nSC++;
241 m_E->push_back( E );
242 m_calo->push_back( calo );
243 m_region->push_back( region );
244 m_sampling->push_back( lay );
245 m_ieta->push_back( ieta );
246 m_jphi->push_back( jphi );
247 m_offlId->push_back( offlId.get_identifier32().get_compact() );
248 m_eta->push_back( feta );
249 m_phi->push_back( fphi );
250 double offEnergy = E;
251 if ( fsampl>0. ) {
252 offEnergy /= fsampl;
253 } else {
254 offEnergy = 0;
255 }
256 m_Eoff->push_back( offEnergy );
257 m_Et->push_back( offEnergy/cosh( feta ) );
258 m_fsampl->push_back( fsampl );
259 }
260 *m_nSC = nSC;
261
262 return StatusCode::SUCCESS;
263
264}
LArHitContainer
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
const CaloCell_SuperCell_ID * m_sc_idHelper
idHlper
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
value_type get_compact() const
Get the compact id.
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
double energy() const
Definition LArHit.h:113
Identifier cellID() const
Definition LArHit.h:108

◆ fillAgain()

virtual StatusCode D3PD::BlockFillerTool< LArHitContainer >::fillAgain ( const LArHitContainer & p)
virtualinherited

Fill one block, after AGAIN has been returned (type-safe).

Parameters
pThe input object.

Once fill returns AGAIN, the parent should call fillAgain with the same arguments. This continues until fillAgain returns something other than AGAIN.

By default, this just calls fill().

◆ fillUntyped()

virtual StatusCode D3PD::BlockFillerTool< LArHitContainer >::fillUntyped ( const void * p,
bool again = false )
virtualinherited

Fill one block.

Parameters
pThe input object.
againSet if this is a subsequent call requested by an AGAIN return

This is called once per object. The type of the object at which p points is given by the ti argument to configureD3PD. The caller is responsible for arranging that all the pointers for booked variables are set appropriately upon entry.

If the return status is the special code AGAIN (defined above), then this filler tool wants to make multiple entries. The parent should set up to capture a new ‘row’ and run through the list of block filler tools again, but for this tool call fillAgainUntyped instead of fillUntyped. This should be repeated as long as fillAgainUntyped returns AGAIN.

Once fillUntyped returns AGAIN, the parent should call fillUntyped with the same p argument and again set to true. This continues until fillUntyped returns something other than AGAIN.

Not all parents may support this. In that case, returning AGAIN will be treated as an error.

◆ initialize()

StatusCode D3PD::LArSCHitFillerTool::initialize ( )
virtual

Book variables for this block.

Definition at line 61 of file LArSCHitFillerTool.cxx.

62{
63 ServiceHandle<StoreGateSvc> detStore("DetectorStore", name());
64 CHECK( detStore.retrieve() ) ;
65 CHECK( m_scidtool.retrieve() );
66 CHECK( m_caloSuperCellMgrKey.initialize() );
67 CHECK( detStore->retrieve (m_sc_idHelper) );
68
69 CHECK ( detStore->retrieve(m_emid) );
70 CHECK ( detStore->retrieve(m_fcalid) );
71 CHECK ( detStore->retrieve(m_hecid) );
72 CHECK ( detStore->retrieve(m_tileid) );
73 CHECK ( detStore->retrieve(m_onlineHelper));
74
75 CHECK ( detStore->retrieve(m_dd_fSampl));
76
77 const unsigned int nSubCalo = static_cast< int >( CaloCell_ID::NSUBCALO );
78
79 //check calo number specified
80 m_caloSelection = false;
81 if( m_caloNums.size() == 0 ) {
82 ATH_MSG_INFO( " *** LArSCHitFillerTool: No calorimeter selection" );
83 // return StatusCode::SUCCESS;
84 } else if( m_caloNums.size() > nSubCalo ) {
85 REPORT_MESSAGE( MSG::FATAL )
86 << " More than " << nSubCalo << " calo specified. "
87 << "Must be wrong. Stop.";
88 return StatusCode::FAILURE;
89 } else {
90 m_caloSelection = true;
91 for( unsigned int index = 0; index < m_caloNums.size(); ++index ) {
92 if( m_caloNums[ index ]>= nSubCalo ) {
93 REPORT_MESSAGE( MSG::FATAL )
94 << "Invalid calo specification:"
95 << m_caloNums[index] << "Stop.";
96 return StatusCode::FAILURE;
97 } else {
98 ATH_MSG_INFO( "*** LArSCHitFillerTool: Select calorimeter " << m_caloNums[ index ] );
99 }
100 }
101 }
102
103 m_caloEtaSelection = false;
104 if ( m_etaCut.size() >0 ) {
105 if ( m_etaCut.size()== 2 && m_etaCut[0]<m_etaCut[1] ) {
106 REPORT_MESSAGE( MSG::INFO ) << "*** LArSCHitFillerTool: Eta Selection specified: " << m_etaCut[0] << ", " << m_etaCut[1];
108 } else {
109 REPORT_MESSAGE( MSG::FATAL ) << " *** LArSCHitFillerTool: Invalid Eta Cut Range specified: Abort!";
110 return StatusCode::FAILURE;
111 }
112 }
113
114 m_caloPhiSelection = false;
115 if ( m_phiCut.size() >0 ) {
116 if ( m_phiCut.size() == 2 && m_phiCut[0]<m_phiCut[1] ) {
117 REPORT_MESSAGE( MSG::INFO ) << "*** LArSCHitFillerTool: Phi Selection specified: " << m_phiCut[0] << ", " << m_phiCut[1];
118 m_caloPhiSelection = true;
119 } else {
120 REPORT_MESSAGE( MSG::FATAL ) << " *** LArSCHitFillerTool: Invalid Phi Cut Range specified: Abort!";
121 return StatusCode::FAILURE;
122 }
123 }
124
125 m_caloLayerSelection = false;
126 if ( m_caloLayers.size()>0 ) {
127 if ( m_caloLayers.size()>28 ) {
128 REPORT_MESSAGE( MSG::FATAL ) << " *** LArSCHitFillerTool: Invalid No. of Calo Layer selection: " << m_caloLayers.size() << " Abort!";
129 return StatusCode::FAILURE;
130 }
131 for( unsigned int j=0; j<m_caloLayers.size(); j++) {
132 if (m_caloLayers[j]>27 ) {
133 REPORT_MESSAGE( MSG::FATAL ) << " *** LArSCHitFillerTool: Invalid Calo Layer selection: " << m_caloLayers[j] << " Abort!";
134 return StatusCode::FAILURE;
135 }
136 }
138 }
139
140
141 ATH_MSG_INFO( " *** LArSCHitFillerTool: caloEtaSelection " << m_caloEtaSelection );
142 ATH_MSG_INFO( " *** LArSCHitFillerTool: caloPhiSelection " << m_caloPhiSelection );
143 ATH_MSG_INFO( " *** LArSCHitFillerTool: caloLayerSelection " << m_caloLayerSelection );
144
145 ATH_MSG_INFO( " *** LArSCHitFillerTool: completed" );
146 return StatusCode::SUCCESS;
147}
#define ATH_MSG_INFO(x)
const LArFCAL_ID * m_fcalid
const LArOnlineID * m_onlineHelper
str index
Definition DeMoScan.py:362

Member Data Documentation

◆ m_blockName

std::string D3PD::BlockFillerToolImpl::m_blockName
privateinherited

Property: the name of this block.

Definition at line 118 of file BlockFillerToolImpl.h.

◆ m_calo

std::vector<int>* D3PD::LArSCHitFillerTool::m_calo
private

Definition at line 87 of file LArSCHitFillerTool.h.

◆ m_caloEtaSelection

bool D3PD::LArSCHitFillerTool::m_caloEtaSelection
private

Definition at line 99 of file LArSCHitFillerTool.h.

◆ m_caloLayers

std::vector< unsigned int > D3PD::LArSCHitFillerTool::m_caloLayers
private

Definition at line 97 of file LArSCHitFillerTool.h.

◆ m_caloLayerSelection

bool D3PD::LArSCHitFillerTool::m_caloLayerSelection
private

Definition at line 101 of file LArSCHitFillerTool.h.

◆ m_caloNums

std::vector< unsigned int > D3PD::LArSCHitFillerTool::m_caloNums
private

Definition at line 96 of file LArSCHitFillerTool.h.

◆ m_caloPhiSelection

bool D3PD::LArSCHitFillerTool::m_caloPhiSelection
private

Definition at line 100 of file LArSCHitFillerTool.h.

◆ m_caloSelection

bool D3PD::LArSCHitFillerTool::m_caloSelection
private

Definition at line 102 of file LArSCHitFillerTool.h.

◆ m_caloSuperCellMgrKey

SG::ReadCondHandleKey<CaloSuperCellDetDescrManager> D3PD::LArSCHitFillerTool::m_caloSuperCellMgrKey
private
Initial value:
{
this,"CaloSuperCellDetDescrManager","CaloSuperCellDetDescrManager","SG key of the resulting CaloSuperCellDetDescrManager" }

Definition at line 108 of file LArSCHitFillerTool.h.

108 {
109 this,"CaloSuperCellDetDescrManager","CaloSuperCellDetDescrManager","SG key of the resulting CaloSuperCellDetDescrManager" };

◆ m_converter

TypeConverter D3PD::BlockFillerToolImpl::m_converter
privateinherited

Helper to do type conversions.

Definition at line 121 of file BlockFillerToolImpl.h.

◆ m_dd_fSampl

const ILArfSampl* D3PD::LArSCHitFillerTool::m_dd_fSampl
private

Definition at line 76 of file LArSCHitFillerTool.h.

◆ m_E

std::vector<double>* D3PD::LArSCHitFillerTool::m_E
private

Definition at line 80 of file LArSCHitFillerTool.h.

◆ m_emid

const LArEM_ID* D3PD::LArSCHitFillerTool::m_emid
private

Definition at line 71 of file LArSCHitFillerTool.h.

◆ m_Eoff

std::vector<double>* D3PD::LArSCHitFillerTool::m_Eoff
private

Definition at line 83 of file LArSCHitFillerTool.h.

◆ m_Et

std::vector<double>* D3PD::LArSCHitFillerTool::m_Et
private

Definition at line 84 of file LArSCHitFillerTool.h.

◆ m_eta

std::vector<double>* D3PD::LArSCHitFillerTool::m_eta
private

Definition at line 81 of file LArSCHitFillerTool.h.

◆ m_etaCut

std::vector<float> D3PD::LArSCHitFillerTool::m_etaCut
private

Definition at line 94 of file LArSCHitFillerTool.h.

◆ m_fcalid

const LArFCAL_ID* D3PD::LArSCHitFillerTool::m_fcalid
private

Definition at line 72 of file LArSCHitFillerTool.h.

◆ m_fsampl

std::vector<double>* D3PD::LArSCHitFillerTool::m_fsampl
private

Definition at line 85 of file LArSCHitFillerTool.h.

◆ m_hecid

const LArHEC_ID* D3PD::LArSCHitFillerTool::m_hecid
private

Definition at line 73 of file LArSCHitFillerTool.h.

◆ m_ieta

std::vector<int>* D3PD::LArSCHitFillerTool::m_ieta
private

Definition at line 90 of file LArSCHitFillerTool.h.

◆ m_jphi

std::vector<int>* D3PD::LArSCHitFillerTool::m_jphi
private

Definition at line 91 of file LArSCHitFillerTool.h.

◆ m_metadata

ObjectMetadata D3PD::AddVariable::m_metadata
protectedinherited

Metadata about the variables created by this object.

Definition at line 129 of file AddVariable.h.

◆ m_nSC

int* D3PD::LArSCHitFillerTool::m_nSC
private

parameters

Definition at line 79 of file LArSCHitFillerTool.h.

◆ m_offlId

std::vector<unsigned int>* D3PD::LArSCHitFillerTool::m_offlId
private

Definition at line 92 of file LArSCHitFillerTool.h.

◆ m_onlineHelper

const LArOnlineID* D3PD::LArSCHitFillerTool::m_onlineHelper
private

Definition at line 75 of file LArSCHitFillerTool.h.

◆ m_phi

std::vector<double>* D3PD::LArSCHitFillerTool::m_phi
private

Definition at line 82 of file LArSCHitFillerTool.h.

◆ m_phiCut

std::vector<float> D3PD::LArSCHitFillerTool::m_phiCut
private

Definition at line 95 of file LArSCHitFillerTool.h.

◆ m_prefix

std::string D3PD::BlockFillerToolImpl::m_prefix
privateinherited

Property: the variable prefix for this block.

Definition at line 112 of file BlockFillerToolImpl.h.

◆ m_region

std::vector<int>* D3PD::LArSCHitFillerTool::m_region
private

Definition at line 88 of file LArSCHitFillerTool.h.

◆ m_sampling

std::vector<int>* D3PD::LArSCHitFillerTool::m_sampling
private

Definition at line 89 of file LArSCHitFillerTool.h.

◆ m_sc_idHelper

const CaloCell_SuperCell_ID* D3PD::LArSCHitFillerTool::m_sc_idHelper
private

idHlper

Definition at line 112 of file LArSCHitFillerTool.h.

◆ m_scidtool

ToolHandle<ICaloSuperCellIDTool> D3PD::LArSCHitFillerTool::m_scidtool
private

Property: Offline / supercell mapping tool.

Definition at line 106 of file LArSCHitFillerTool.h.

◆ m_suffix

std::string D3PD::BlockFillerToolImpl::m_suffix
privateinherited

Property: the variable prefix for this block.

Definition at line 115 of file BlockFillerToolImpl.h.

◆ m_tileid

const TileID* D3PD::LArSCHitFillerTool::m_tileid
private

Definition at line 74 of file LArSCHitFillerTool.h.

◆ m_tree

IAddVariable* D3PD::AddVariable::m_tree
privateinherited

Reference to the block name.

The parent IAddVariable instance.

Definition at line 143 of file AddVariable.h.

◆ s_emptyString

const std::string D3PD::AddVariable::s_emptyString
staticprivateinherited

Used to provide a default value for blockName.

Definition at line 41 of file AddVariable.h.


The documentation for this class was generated from the following files: