|
ATLAS Offline Software
|
Block filler tool for EM samplings from a CaloCluster.
More...
#include <SCFillerTool.h>
|
| SCFillerTool (const std::string &type, const std::string &name, const IInterface *parent) |
| Standard Gaudi tool constructor. More...
|
|
virtual StatusCode | book () |
| Book variables for this block. More...
|
|
virtual StatusCode | initialize () |
|
virtual StatusCode | fill (const CaloCellContainer &p) |
| Fill one block — type-safe version. More...
|
|
virtual void | fillHashTables (const CaloCellContainer &p) |
|
virtual void | dumpHashTables (const CaloCellContainer &p) |
|
virtual void | resetEnergies () |
|
virtual StatusCode | configureD3PD (IAddVariable *tree, const std::type_info &ti) |
| Configure during initialization: type-check. More...
|
|
StatusCode | configureD3PD (IAddVariable *tree) |
| Configure the parent tree. More...
|
|
virtual StatusCode | fillUntyped (const void *p, bool again=false) |
| Fill one block. More...
|
|
virtual StatusCode | fillAgain (const CaloCellContainer &p) |
| Fill one block, after AGAIN has been returned (type-safe). More...
|
|
| BlockFillerToolImpl (const std::string &type, const std::string &name, const IInterface *parent) |
| Standard Gaudi tool constructor. More...
|
|
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. More...
|
|
template<class T > |
StatusCode | addVariable (const std::string &name, T *&ptr, const std::string &docstring="") |
| Make the template implementation from IAddVariable visible. More...
|
|
template<class T , class U > |
StatusCode | addVariable (const std::string &name, T *&ptr, const std::string &docstring, const U &defval) |
| Make the template implementation from IAddVariable visible. More...
|
|
virtual StatusCode | addVariable (const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)=0 |
| Make the template implementation from IAddVariable visible. More...
|
|
template<class T > |
StatusCode | addVariable (const std::string &name, T *&ptr, const std::string &docstring="") |
| Add a variable to the tuple. More...
|
|
template<class T , class U > |
StatusCode | addVariable (const std::string &name, T *&ptr, const std::string &docstring, const U &defval) |
| Add a variable to the tuple. More...
|
|
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. More...
|
|
template<class T > |
StatusCode | addDimensionedVariable (const std::string &name, T *&ptr, const std::string &dim, const std::string &docstring="") |
| Add a variable to the tuple. More...
|
|
template<class T , class U > |
StatusCode | addDimensionedVariable (const std::string &name, T *&ptr, const std::string &dim, const std::string &docstring, const U &defval) |
| Add a variable to the tuple. More...
|
|
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)=0 |
| Add a variable to the tuple. More...
|
|
template<class T > |
StatusCode | addDimensionedVariable (const std::string &name, T *&ptr, const std::string &dim, const std::string &docstring="") |
| Add a variable to the tuple. More...
|
|
template<class T , class U > |
StatusCode | addDimensionedVariable (const std::string &name, T *&ptr, const std::string &dim, const std::string &docstring, const U &defval) |
| Add a variable to the tuple. More...
|
|
Block filler tool for EM samplings from a CaloCluster.
Definition at line 44 of file SCFillerTool.h.
◆ SCFillerTool()
D3PD::SCFillerTool::SCFillerTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
Standard Gaudi tool constructor.
- Parameters
-
type | The name of the tool type. |
name | The tool name. |
parent | The tool's Gaudi parent. |
Definition at line 31 of file SCFillerTool.cxx.
43 declareProperty(
"CaloEtaCut",
m_etaCut );
44 declareProperty(
"CaloPhiCut",
m_phiCut );
47 declareProperty(
"CaloDetectors",
m_caloNums );
◆ addDimensionedVariable() [1/6]
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
-
name | The name of the variable. |
type | The type of the variable. |
ptr | Pointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill() . |
dim | Dimension for the variable. (Presently unimplemented!) |
docstring | Documentation string for this variable. |
defval | Pointer 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
.
Implements D3PD::IAddVariable.
Definition at line 123 of file AddVariable.cxx.
133 return StatusCode::SUCCESS;
138 docstring, defval ) );
◆ addDimensionedVariable() [2/6]
virtual StatusCode D3PD::IAddVariable::addDimensionedVariable |
|
inherited |
Add a variable to the tuple.
- Parameters
-
name | The name of the variable. |
type | The type of the variable. |
ptr | Pointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill() . |
dim | Dimension for the variable. (Presently unimplemented!) |
docstring | Documentation string for this variable. |
defval | Pointer 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
.
◆ addDimensionedVariable() [3/6]
template<class T , class U >
StatusCode D3PD::IAddVariable::addDimensionedVariable |
( |
class T |
, |
|
|
class U |
|
|
) |
| |
|
inherited |
Add a variable to the tuple.
- Parameters
-
name | The name of the variable. |
ptr | Pointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill() . |
dim | Dimension for the variable. (Presently unimplemented!) |
docstring | Documentation string for this variable. |
defval | Pointer 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() [4/6]
template<class T , class U >
StatusCode D3PD::IAddVariable::addDimensionedVariable |
( |
const std::string & |
name, |
|
|
T *& |
ptr, |
|
|
const std::string & |
dim, |
|
|
const std::string & |
docstring, |
|
|
const U & |
defval |
|
) |
| |
|
inherited |
Add a variable to the tuple.
- Parameters
-
name | The name of the variable. |
ptr | Pointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill() . |
dim | Dimension for the variable. (Presently unimplemented!) |
docstring | Documentation string for this variable. |
defval | Pointer 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() [5/6]
template<class T >
StatusCode D3PD::IAddVariable::addDimensionedVariable |
( |
class T |
| ) |
|
|
inherited |
Add a variable to the tuple.
- Parameters
-
name | The name of the variable. |
ptr | Pointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill() . |
dim | Dimension for the variable. (Presently unimplemented!) |
docstring | Documentation string for this variable. |
If called from the constructor, the only effect is to clear ptr
.
◆ addDimensionedVariable() [6/6]
template<class T >
StatusCode D3PD::IAddVariable::addDimensionedVariable |
( |
const std::string & |
name, |
|
|
T *& |
ptr, |
|
|
const std::string & |
dim, |
|
|
const std::string & |
docstring = "" |
|
) |
| |
|
inherited |
Add a variable to the tuple.
- Parameters
-
name | The name of the variable. |
ptr | Pointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill() . |
dim | Dimension for the variable. (Presently unimplemented!) |
docstring | Documentation string for this variable. |
If called from the constructor, the only effect is to clear ptr
.
◆ addVariable() [1/6]
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
-
name | The name of the variable. |
type | The type of the variable. |
ptr | Pointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill() . |
docstring | Documentation string for this variable. |
defval | Pointer 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
.
Implements D3PD::IAddVariable.
Definition at line 85 of file AddVariable.cxx.
94 return StatusCode::SUCCESS;
98 ti,
ptr, docstring, defval ) );
100 ti,
ptr, docstring, defval);
◆ addVariable() [2/6]
virtual StatusCode D3PD::IAddVariable::addVariable |
|
inherited |
◆ addVariable() [3/6]
template<class T , class U >
StatusCode D3PD::IAddVariable::addVariable |
( |
class T |
, |
|
|
class U |
|
|
) |
| |
|
inherited |
◆ addVariable() [4/6]
template<class T , class U >
StatusCode D3PD::IAddVariable::addVariable |
( |
const std::string & |
name, |
|
|
T *& |
ptr, |
|
|
const std::string & |
docstring, |
|
|
const U & |
defval |
|
) |
| |
|
inherited |
Add a variable to the tuple.
- Parameters
-
name | The name of the variable. |
ptr | Pointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill() . |
docstring | Documentation string for this variable. |
defval | Pointer 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
.
◆ addVariable() [5/6]
template<class T >
StatusCode D3PD::IAddVariable::addVariable |
( |
class T |
| ) |
|
|
inherited |
◆ addVariable() [6/6]
template<class T >
StatusCode D3PD::IAddVariable::addVariable |
( |
const std::string & |
name, |
|
|
T *& |
ptr, |
|
|
const std::string & |
docstring = "" |
|
) |
| |
|
inherited |
Add a variable to the tuple.
- Parameters
-
name | The name of the variable. |
ptr | Pointer to the type of the variable. The pointer need not be initialized; the D3PD software will set the pointer prior to calling fill() . |
docstring | Documentation string for this variable. |
If called from the constructor, the only effect is to clear ptr
.
◆ BlockFillerToolImpl()
D3PD::BlockFillerToolImpl::BlockFillerToolImpl |
|
inherited |
Standard Gaudi tool constructor.
- Parameters
-
type | The name of the tool type. |
name | The tool name. |
parent | The tool's Gaudi parent. |
Definition at line 73 of file BlockFillerToolImpl.cxx.
33 declareProperty (
"Prefix",
m_prefix =
"",
34 "Tuple variable prefix for this block.");
35 declareProperty (
"Suffix",
m_suffix =
"",
36 "Tuple variable suffix for this block.");
38 "The name of this block.");
◆ book()
StatusCode D3PD::SCFillerTool::book |
( |
| ) |
|
|
virtual |
◆ configureD3PD() [1/2]
StatusCode D3PD::AddVariable::configureD3PD |
( |
IAddVariable * |
tree | ) |
|
|
inherited |
Configure the parent tree.
- Parameters
-
Definition at line 61 of file AddVariable.cxx.
65 return StatusCode::SUCCESS;
◆ configureD3PD() [2/2]
Configure during initialization: type-check.
- Parameters
-
tree | Our parent for tuple making. |
ti | Gives 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
-
tree | Our parent for tuple making. |
ti | Gives the type of the object being passed to fillUntyped . |
fill_ti | is 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 55 of file BlockFillerToolImpl.cxx.
62 return StatusCode::SUCCESS;
◆ 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
-
| tree | Our parent for tuple making. |
| ti | Gives the type of the object being passed to fillUntyped . |
| tis | List of possible input types that we can accept. |
[out] | which | Index 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 83 of file BlockFillerToolImpl.cxx.
90 return StatusCode::SUCCESS;
◆ 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 105 of file BlockFillerToolImpl.cxx.
112 return StatusCode::FAILURE;
114 return StatusCode::SUCCESS;
◆ dumpHashTables()
Definition at line 248 of file SCFillerTool.cxx.
251 CONTAINER::const_iterator f_cell =
p.begin();
252 CONTAINER::const_iterator l_cell =
p.end();
254 for( ; f_cell != l_cell; ++f_cell ) {
257 int posneg = (
cell->eta()>=0.0) ? 1: -1;
267 std::cout <<
"SCFillerTool::dumpHashTables() [ONLY EM BARREL] ==> posneg,lay,ieta,jphi= " << posneg <<
", " << lay <<
", " << ieta <<
", " << jphi <<
" ID: " <<
id <<
" sc_hash: " << sc_hash << std::endl;
274 int scID = (*it).first;
276 std::vector<const CaloCell*>
v = (*it).second;
278 int pn = ((
key >> 28) & 0
x1) ? 1: -1;
279 int calo = ((
key >> 24) & 0xf)*
pn;
280 int region = (
key>>20) & 0xf;
281 unsigned int lay = (
key>>16) & 0xf;
282 int ieta = (
key>>8) & 0xff;
283 int jphi =
key & 0xff;
284 if (abs(calo)==1 &&
pn>0) {
285 std::cout <<
"SCFillerTool::dumpHashTables() ===> scID = " << scID <<
" calo,pn,region,lay,ieta,jphi: " << calo <<
", " <<
pn <<
", " << region <<
", " << lay <<
", " << ieta <<
", " << jphi << std::endl;
286 std::cout <<
"SCFillerTool::dumpHashTables() ===> scID = " << scID <<
" No. of cells: " << nl << std::endl;
287 std::cout <<
"SCFillerTool::dumpHashTables() ===> " ;
289 std::cout <<
cell <<
", " ;
291 std::cout <<
"" << std::endl;
◆ fill()
Fill one block — type-safe version.
- Parameters
-
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< CaloCellContainer >.
Definition at line 166 of file SCFillerTool.cxx.
172 ATH_MSG_INFO(
"**** after fillHashTables in first event");
178 CONTAINER::const_iterator f_cell =
p.begin();
179 CONTAINER::const_iterator l_cell =
p.end();
180 for( ; f_cell != l_cell; ++f_cell ) {
193 int pn = ((
key >> 28) & 0
x1) ? 1: -1;
194 int calo = ((
key >> 24) & 0xf)*
pn;
195 int region = (
key>>20) & 0xf;
196 unsigned int lay = (
key>>16) & 0xf;
197 int ieta = (
key>>8) & 0xff;
198 int jphi =
key & 0xff;
202 int lardet = abs((
key >> 24) & 0xf);
205 std::vector< unsigned int >::const_iterator theFound =
224 m_calo->push_back( calo );
227 m_ieta->push_back( ieta );
228 m_jphi->push_back( jphi );
230 m_eta->push_back( feta );
236 return StatusCode::SUCCESS;
◆ fillAgain()
Fill one block, after AGAIN
has been returned (type-safe).
- Parameters
-
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()
.
◆ fillHashTables()
Definition at line 297 of file SCFillerTool.cxx.
300 CONTAINER::const_iterator f_cell =
p.begin();
301 CONTAINER::const_iterator l_cell =
p.end();
303 int reg,lay,ieta,jphi;
304 int sc_side, sc_calo, sc_region, sc_layer, sc_ieta, sc_jphi;
309 for( ; f_cell != l_cell; ++f_cell ) {
313 sc_side = (
cell->eta()>=0.0) ? 1: 0;
335 sc_ieta =
int(ieta/4);
337 }
else if ( lay == 1 ) {
338 sc_ieta = (reg==0) ?
int(ieta/8) : 56+ieta;
339 sc_jphi = (reg==0) ? jphi:
int(jphi/4);
340 }
else if ( lay == 2 ) {
341 sc_ieta = (reg==0) ? ieta: 56 + ieta;
342 sc_jphi =
int(jphi/4);
343 }
else if ( lay == 3 ) {
344 sc_ieta =
int(ieta/2);
345 sc_jphi =
int(jphi/4);
350 sc_ieta =
int(ieta/4);
353 }
else if (lay == 1) {
355 sc_ieta = (reg<=1) ? 0 : ((reg==2) ? 1+
int(ieta/8) : ((reg==3) ? 13+
int(ieta/4) : ((reg==4) ? 25+
int(ieta/4): 41)));
357 sc_region = (reg<2) ? 0: reg-1;
359 sc_ieta = (reg==0) ? 0 : 1+ieta;
360 sc_jphi =
int(jphi/4);
361 sc_region = (ieta<3) ? 0: ((ieta<15) ? 1 : ((ieta<23) ? 2 : ((ieta<39) ? 3 : 4)));
363 sc_ieta =
int(ieta/2);
364 sc_jphi =
int(jphi/4);
365 sc_region = (ieta<6) ? 1: ((ieta<10) ? 2 : ((ieta<18) ? 3: 4));
373 sc_ieta = (ieta<6) ?
int(ieta/2) : 47;
374 sc_jphi =
int(jphi/2);
375 sc_region = (ieta<6) ? 5 : 6;
383 sc_ieta = (sc_region==0) ? ieta : 10+ieta;
392 const int c64 =
c%64;
395 sc_ieta = 4-
int((
c%16)/4);
396 int jphip = 8*(
s-14) + 3 + 4*
int(
c/64)-
int(c64/16);
397 int jphin = 8*(
s-14) + 7 -
int(
c/16);
398 sc_jphi = (sc_side)>0 ? jphip : jphin;
401 sc_ieta = ((
c%32)<16 ? 4 : 8) -
int((
c%32)/4);
402 int jphip = 4*(
s-10) + 1 + 2*
int(
c/64)-
int(c64/32);
403 int jphin = ((
s>=12) ? 14 -4*(
s-12): 6 -4*(
s-10) ) +
int(c64/32) -2*
int(
c/64);
404 sc_jphi = (sc_side>0) ? jphip : jphin;
407 ieta = 15-
int(c64%16) + 16*
int(c64/16);
408 sc_ieta =
int(ieta/4);
409 int jphip =
int(
c/64) + 2*(
s- ((
s==9) ? 2 : 1));
410 int jphin = ((
s<5) ? 7 - 2*(
s-1) : 15 - 2*(
s-((
s==9)?6:5))) -
int(
c/64);
411 sc_jphi = (sc_side>0) ? jphip : jphin;
414 }
else if (c64>=16 && c64<32 ) {
416 }
else if (c64>=32 && c64<48 ) {
435 if( sc_ieta<0 || sc_jphi<0 || sc_calo<=0 || sc_region<0 || sc_layer<0 )
continue;
439 if (sc_calo==6 || sc_calo==7) {
443 int sc_hash = (sc_side << 28) | ( sc_calo << 24 ) | (sc_region << 20 ) | ( sc_layer << 16 ) | ( sc_ieta << 8 ) | ( sc_jphi );
450 int scID = (*it).first;
452 std::vector<const CaloCell*>
v = (*it).second;
474 for( vit=
v.begin(); vit!=
v.end(); ++vit) {
475 feta += (*vit)->
eta();
476 fphi += (*vit)->phi();
◆ fillUntyped()
Fill one block.
- Parameters
-
p | The input object. |
again | Set 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::SCFillerTool::initialize |
( |
| ) |
|
|
virtual |
Definition at line 53 of file SCFillerTool.cxx.
65 const unsigned int nSubCalo = 7;
70 ATH_MSG_INFO(
" *** SCFillerTool: No calorimeter selection" );
71 return StatusCode::SUCCESS;
74 <<
" More than " << nSubCalo <<
" calo specified. "
75 <<
"Must be wrong. Stop.";
76 return StatusCode::FAILURE;
82 <<
"Invalid calo specification:"
84 return StatusCode::FAILURE;
98 return StatusCode::FAILURE;
109 return StatusCode::FAILURE;
117 return StatusCode::FAILURE;
122 return StatusCode::FAILURE;
131 return StatusCode::SUCCESS;
◆ resetEnergies()
void D3PD::SCFillerTool::resetEnergies |
( |
| ) |
|
|
virtual |
◆ m_blockName
std::string D3PD::BlockFillerToolImpl::m_blockName |
|
privateinherited |
◆ m_cablingKey
◆ m_calo
std::vector<int>* D3PD::SCFillerTool::m_calo |
|
private |
◆ m_caloEtaSelection
bool D3PD::SCFillerTool::m_caloEtaSelection |
|
private |
◆ m_caloLayers
std::vector< unsigned int > D3PD::SCFillerTool::m_caloLayers |
|
private |
◆ m_caloLayerSelection
bool D3PD::SCFillerTool::m_caloLayerSelection |
|
private |
◆ m_caloNums
std::vector< unsigned int > D3PD::SCFillerTool::m_caloNums |
|
private |
◆ m_caloPhiSelection
bool D3PD::SCFillerTool::m_caloPhiSelection |
|
private |
◆ m_caloSelection
bool D3PD::SCFillerTool::m_caloSelection |
|
private |
◆ m_converter
◆ m_E
std::vector<double>* D3PD::SCFillerTool::m_E |
|
private |
◆ m_emid
◆ m_Et
std::vector<double>* D3PD::SCFillerTool::m_Et |
|
private |
◆ m_eta
std::vector<double>* D3PD::SCFillerTool::m_eta |
|
private |
◆ m_etaCut
std::vector<float> D3PD::SCFillerTool::m_etaCut |
|
private |
◆ m_fcalid
◆ m_hashid
std::vector<int>* D3PD::SCFillerTool::m_hashid |
|
private |
◆ m_hecid
◆ m_ieta
std::vector<int>* D3PD::SCFillerTool::m_ieta |
|
private |
◆ m_jphi
std::vector<int>* D3PD::SCFillerTool::m_jphi |
|
private |
◆ m_metadata
Metadata about the variables created by this object.
Definition at line 129 of file AddVariable.h.
◆ m_nSC
int* D3PD::SCFillerTool::m_nSC |
|
private |
◆ m_onlineHelper
◆ m_phi
std::vector<double>* D3PD::SCFillerTool::m_phi |
|
private |
◆ m_phiCut
std::vector<float> D3PD::SCFillerTool::m_phiCut |
|
private |
◆ m_prefix
std::string D3PD::BlockFillerToolImpl::m_prefix |
|
privateinherited |
◆ m_quality
std::vector<double>* D3PD::SCFillerTool::m_quality |
|
private |
◆ m_region
std::vector<int>* D3PD::SCFillerTool::m_region |
|
private |
◆ m_sampling
std::vector<int>* D3PD::SCFillerTool::m_sampling |
|
private |
◆ m_sc_compId
std::map<int, std::vector<const CaloCell*> > D3PD::SCFillerTool::m_sc_compId |
|
private |
◆ m_sc_energy
std::map<int, double> D3PD::SCFillerTool::m_sc_energy |
|
private |
◆ m_sc_eta
std::map<int, double> D3PD::SCFillerTool::m_sc_eta |
|
private |
◆ m_sc_hashTable
◆ m_sc_list
std::vector<int> D3PD::SCFillerTool::m_sc_list |
|
private |
◆ m_sc_phi
std::map<int, double> D3PD::SCFillerTool::m_sc_phi |
|
private |
◆ m_suffix
std::string D3PD::BlockFillerToolImpl::m_suffix |
|
privateinherited |
◆ m_tableFilled
bool D3PD::SCFillerTool::m_tableFilled |
|
private |
◆ m_tileDLayerOption
bool D3PD::SCFillerTool::m_tileDLayerOption |
|
private |
◆ m_tileid
◆ m_time
std::vector<double>* D3PD::SCFillerTool::m_time |
|
private |
◆ m_tree
◆ 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:
JetConstituentVector::iterator iterator
int phi(const Identifier id) const
return phi according to :
int eta(const Identifier id) const
return eta [0,9] outer part [0,3] inner part
std::string find(const std::string &s)
return a remapped string
bool is_lar_fcal(Identifier id) const
bool is_em_endcap_outer(const Identifier id) const
test if the id belongs to the EM Endcap outer wheel
std::string dstName() const
Return the name of the destination type, or an empty string.
StatusCode configureD3PD(IAddVariable *tree)
Configure the parent tree.
AddVariable(const std::string &prefix, const std::string &blockName=s_emptyString)
Constructor.
const std::string & m_suffix
Reference to the variable suffix.
int side(const Identifier &id) const
const std::string & m_prefix
Reference to the variable prefix.
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
int module(const Identifier id) const
module [1,3]
int region(const Identifier id) const
return region according to :
bool is_tile_extbarrel(const Identifier &id) const
int sampling(const Identifier id) const
return sampling according to :
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.
int tower(const Identifier &id) const
IAddVariable * m_tree
Reference to the block name.
StatusCode init(const std::type_info &src_ti, const std::type_info &dst_ti)
Initialize the converter.
int eta(const Identifier id) const
return eta according to :
std::string srcName() const
Return the name of the source type, or an empty string.
ObjectMetadata m_metadata
Metadata about the variables created by this object.
const void * convertUntyped(const void *p) const
Convert pointer.
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
int module(const Identifier &id) const
#define CHECK(...)
Evaluate an expression and check for errors.
bool is_tile(Identifier id) const
bool is_lar_hec(Identifier id) const
int sampling(const Identifier &id) const
StatusCode initialize(bool used=true)
Container class for CaloCell.
bool is_em_endcap_inner(const Identifier id) const
test if the id belongs to the EM Endcap inner wheel
#define REPORT_MESSAGE(LVL)
Report a message.
Data object for each calorimeter readout cell.
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
int sampling(const Identifier id) const
return sampling [0,3] (only 0 for supercells)
StatusCode addVariable(const std::string &name, T *&ptr, const std::string &docstring="")
Add a variable to the tuple.
StatusCode addDimensionedVariable(const std::string &name, T *&ptr, const std::string &dim, const std::string &docstring="")
Add a variable to the tuple.
double eta() const
The pseudorapidity ( ) of the particle.
bool is_tile_barrel(const Identifier &id) const
Test of an Identifier to see if it belongs to a particular part of the calorimeter.
int region(const Identifier id) const
return region [0,1]
bool is_lar_em(Identifier id) const
int phi(const Identifier id) const
return phi[0,63] outer part [0,31] inner part