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

#include <TileCellDetailsFillerTool.h>

Inheritance diagram for D3PD::TileCellDetailsFillerTool:
Collaboration diagram for D3PD::TileCellDetailsFillerTool:

Public Member Functions

 TileCellDetailsFillerTool (const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize ()
 Standard Gaudi initialize method.
virtual StatusCode book ()
 Declare tuple variables.
virtual StatusCode fill (const CaloCell &p)
 Fill one block — type-safe version.
void DumpCellInfo ()
 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 CaloCell &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, CaloCell *&ptr, const std::string &docstring="")
 Make the template implementation from IAddVariable visible.
StatusCode addVariable (const std::string &name, CaloCell *&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, CaloCell *&ptr, const std::string &dim, const std::string &docstring="")
 Add a variable to the tuple.
StatusCode addDimensionedVariable (const std::string &name, CaloCell *&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 Types

enum  CELL_CHANNEL { E1_CHANNEL = 12 }

Private Attributes

const TileIDm_tileid
const TileHWIDm_tilehwid
const TileCablingServicem_cabling
ToolHandle< ITileBadChanToolm_tileBadChanTool
bool m_saveCellDetails
bool m_savePosition
bool m_run2plus
float * m_timeCells
float * m_xCells
float * m_yCells
float * m_zCells
float * m_tdiffCells
float * m_ediffCells
uint16_t * m_moduleCells
uint16_t * m_partitionCells
uint16_t * m_towerCells
uint16_t * m_sampleCells
short * m_gain1Cells
short * m_gain2Cells
short * m_chan1Cells
short * m_chan2Cells
short * m_pmt1Cells
short * m_pmt2Cells
uint16_t * m_status1Cells
uint16_t * m_status2Cells
uint16_t * m_qual1Cells
uint16_t * m_qual2Cells
uint8_t * m_qbits1
uint8_t * m_qbits2
bool m_notRealE1run2 [2][64]
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

Definition at line 26 of file TileCellDetailsFillerTool.h.

Member Enumeration Documentation

◆ CELL_CHANNEL

Constructor & Destructor Documentation

◆ TileCellDetailsFillerTool()

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

Definition at line 27 of file TileCellDetailsFillerTool.cxx.

29 :
30 BlockFillerTool<CaloCell>(type,name,parent),
31 m_tileid (0),
32 m_tilehwid(0),
33 m_cabling(0),
34 m_tileBadChanTool("TileBadChanTool"),
35 m_run2plus(false),
37 {
38 declareProperty("SaveCellDetails", m_saveCellDetails = true);
39 declareProperty("SavePositionInfo", m_savePosition = true );
40 declareProperty("TileBadChanTool", m_tileBadChanTool);
41
42 TileCellDetailsFillerTool::book().ignore(); // Avoid coverity warnings
43 }
ToolHandle< ITileBadChanTool > m_tileBadChanTool
virtual StatusCode book()
Declare tuple variables.

Member Function Documentation

◆ addDimensionedVariable() [1/3]

StatusCode D3PD::IAddVariable::addDimensionedVariable ( const std::string & name,
CaloCell *& 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() [2/3]

StatusCode D3PD::IAddVariable::addDimensionedVariable ( const std::string & name,
CaloCell *& 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.

◆ addDimensionedVariable() [3/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.

◆ addVariable() [1/3]

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

Make the template implementation from IAddVariable visible.

◆ addVariable() [2/3]

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

Make the template implementation from IAddVariable visible.

◆ addVariable() [3/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.

◆ 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::TileCellDetailsFillerTool::book ( )
virtual

Declare tuple variables.

This is called at the start of the first event.

Implements D3PD::BlockFillerTool< CaloCell >.

Definition at line 70 of file TileCellDetailsFillerTool.cxx.

70 {
71 if (m_savePosition) {
77 }
78
81 CHECK(addVariable("Timediff",m_tdiffCells));
95 CHECK(addVariable("QBits1",m_qbits1));
96 CHECK(addVariable("QBits2",m_qbits2));
97 }
98
99
100 return StatusCode::SUCCESS;
101 }

◆ 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< CaloCell >::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.

◆ DumpCellInfo()

void D3PD::TileCellDetailsFillerTool::DumpCellInfo ( )

Definition at line 189 of file TileCellDetailsFillerTool.cxx.

189 {
190 MsgStream log( msgSvc(), name() );
191 log << MSG::INFO << "Dumping Cell info:" << endmsg;
192 if (m_savePosition) {
193 log << MSG::INFO << " X :" <<*m_xCells << endmsg;
194 log << MSG::INFO << " Y :" <<*m_yCells << endmsg;
195 log << MSG::INFO << " Z :" <<*m_zCells << endmsg;
196 log << MSG::INFO << " PMT1 :" <<*m_pmt1Cells << endmsg;
197 log << MSG::INFO << " PMT2 :" <<*m_pmt2Cells << endmsg;
198 }
199 if (m_saveCellDetails) {
200 log << MSG::INFO << " Time :" <<*m_timeCells << endmsg;
201 log << MSG::INFO << " Ediff :" <<*m_ediffCells << endmsg;
202 log << MSG::INFO << " Tdiff :" <<*m_tdiffCells << endmsg;
203 log << MSG::INFO << " Module :" <<*m_moduleCells << endmsg;
204 log << MSG::INFO << " Partition :" <<*m_partitionCells << endmsg;
205 log << MSG::INFO << " Tower :" <<*m_towerCells << endmsg;
206 log << MSG::INFO << " Sample :" <<*m_sampleCells << endmsg;
207 log << MSG::INFO << " Gain1 :" <<*m_gain1Cells << endmsg;
208 log << MSG::INFO << " Gain2 :" <<*m_gain2Cells << endmsg;
209 log << MSG::INFO << " Chan1 :" <<*m_chan1Cells << endmsg;
210 log << MSG::INFO << " Chan2 :" <<*m_chan2Cells << endmsg;
211 log << MSG::INFO << " Status1 :" <<*m_status1Cells << endmsg;
212 log << MSG::INFO << " Status2 :" <<*m_status2Cells << endmsg;
213 log << MSG::INFO << " QF1 :" <<*m_qual1Cells << endmsg;
214 log << MSG::INFO << " QF2 :" <<*m_qual2Cells << endmsg;
215 }
216 }
#define endmsg
msgSvc
Provide convenience handles for various services.
Definition StdJOSetup.py:36

◆ fill()

StatusCode D3PD::TileCellDetailsFillerTool::fill ( const CaloCell & 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< CaloCell >.

Definition at line 103 of file TileCellDetailsFillerTool.cxx.

103 {
104 MsgStream log( msgSvc(), name() );
105 log << MSG::DEBUG << " in TileCellDetailsFillerTool::fill()" << endmsg;
106 const CaloCell* cell=&p;
107 const TileCell* tilecell = dynamic_cast<const TileCell*> (cell);
108 if(tilecell){
109 Identifier id = tilecell->ID();
110 if ( log.level() < MSG::DEBUG ) log << MSG::VERBOSE << " cell_id " << m_tileid->to_string(id,-2) << endmsg;
111 int partition(0);
112 uint32_t bad1(0),bad2(0);
113 long chan1(-1),chan2(-1),pmt1(-1),pmt2(-1);
114 long gain1 = tilecell->gain1();
115 long gain2 = tilecell->gain2();
116 long qual1 = tilecell->qual1();
117 long qual2 = tilecell->qual2();
118 int module = m_tileid->module(id);
119
120 const CaloDetDescrElement * caloDDE = tilecell->caloDDE();
121 IdentifierHash hash1 = (gain1<0) ? TileHWID::NOT_VALID_HASH : caloDDE->onl1();
122 IdentifierHash hash2 = (gain2<0) ? TileHWID::NOT_VALID_HASH : caloDDE->onl2();
123 if (m_savePosition) {
124 *m_xCells=tilecell->x();
125 *m_yCells=tilecell->y();
126 *m_zCells=tilecell->z();
127 *m_pmt1Cells=pmt1;
128 *m_pmt2Cells=pmt2;
129 }
130 if (m_saveCellDetails) {
131 if (hash1 != TileHWID::NOT_VALID_HASH) {
132 HWIdentifier adc_id = m_tilehwid->adc_id(hash1,gain1);
133 if ( log.level() < MSG::DEBUG ) log << MSG::VERBOSE << " adc_id1 " << m_tilehwid->to_string(adc_id) << " hash " << hash1 << " " << gain1 << endmsg;
134 partition = m_tilehwid->ros(adc_id);
135 chan1 = m_tilehwid->channel(adc_id);
136 if (m_run2plus && partition > 2 && chan1 == E1_CHANNEL && m_notRealE1run2[partition - 3][module]) chan1 = -E1_CHANNEL;
137 pmt1 = m_cabling->channel2hole(partition,chan1);
138 bad1 = m_tileBadChanTool->encodeStatus(m_tileBadChanTool->getAdcStatus(adc_id));
139 }
140 if (hash2 != TileHWID::NOT_VALID_HASH) {
141 HWIdentifier adc_id = m_tilehwid->adc_id(hash2,gain2);
142 if ( log.level() < MSG::DEBUG ) log << MSG::VERBOSE << " adc_id2 " << m_tilehwid->to_string(adc_id) << " hash " << hash2 << " " << gain2 << endmsg;
143 if (hash1 == TileHWID::NOT_VALID_HASH) partition = m_tilehwid->ros(adc_id);
144 chan2 = m_tilehwid->channel(adc_id);
145 pmt2 = m_cabling->channel2hole(partition,chan2);
146 bad2 = m_tileBadChanTool->encodeStatus(m_tileBadChanTool->getAdcStatus(adc_id));
147 }
148
149
150
151 *m_moduleCells=module+1; // Note the +1 !!!
153 *m_towerCells=m_tileid->tower(id);
154 *m_sampleCells=m_tileid->sample(id);
155 *m_qbits1=tilecell->qbit1();
156 *m_qbits2=tilecell->qbit2();
157 if(gain1>=0 && ((*m_qbits1) & TileCell::MASK_BADCH)!=0 &&
158 qual1!=qual2 && (qual1!=255 || qual2!=255))
159 gain1= !gain1;
160 if(gain2>=0 && ((*m_qbits2) & TileCell::MASK_BADCH)!=0 &&
161 qual1!=qual2 && (qual1!=255 || qual2!=255))
162 gain2= !gain2;
166 *m_chan2Cells=chan2;
167 if(tilecell->badch1())
168 *m_status1Cells=bad1+10;
169 else *m_status1Cells=bad1;
170 if(tilecell->badch2())
171 *m_status2Cells=bad2+10;
172 else *m_status2Cells=bad2;
173 *m_qual1Cells=qual1;
174 *m_qual2Cells=qual2;
175 *m_timeCells=tilecell->time();
176 *m_ediffCells=tilecell->eneDiff();
177 *m_tdiffCells=tilecell->timeDiff();
178 }
179 if ( log.level() < MSG::DEBUG )DumpCellInfo(); // Dump cell info only if in VERBOSE mode
180 }
181 else log << MSG::WARNING << " Cell of id "<< cell->ID()
182 <<" : TileHelper is_tile, but TileCell pointer is 0 "
183 << endmsg;
184
185
186 return StatusCode::SUCCESS;
187 }
float time() const
get time (data member)
Definition CaloCell.h:368
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
Definition CaloCell.h:321
float y() const
get y (through CaloDetDescrElement)
Definition CaloCell.h:436
float z() const
get z (through CaloDetDescrElement)
Definition CaloCell.h:443
float x() const
get x (through CaloDetDescrElement)
Definition CaloCell.h:429
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
Definition CaloCell.h:295
IdentifierHash onl2() const
cell online identifier 2
uint8_t qual1(void) const
get quality of first PMT (data member)
Definition TileCell.h:197
float eneDiff(void) const
all get methods
Definition TileCell.h:182
int gain2(void) const
get gain of second PMT
Definition TileCell.cxx:175
bool badch1(void) const
check if first PMT is in bad channel list and masked
Definition TileCell.h:209
uint8_t qbit2(void) const
get quality bits of second PMT (data member)
Definition TileCell.h:206
int gain1(void) const
get gain of first PMT
Definition TileCell.cxx:168
uint8_t qual2(void) const
get quality of second PMT (data member)
Definition TileCell.h:200
bool badch2(void) const
check if second PMT is in bad channel list and masked
Definition TileCell.h:212
float timeDiff(void) const
get time diff for two PMTs (data member)
Definition TileCell.h:184
@ MASK_BADCH
Definition TileCell.h:63
uint8_t qbit1(void) const
get quality bits of first PMT (data member)
Definition TileCell.h:203
@ NOT_VALID_HASH
Definition TileHWID.h:314
setEventNumber uint32_t

◆ fillAgain()

virtual StatusCode D3PD::BlockFillerTool< CaloCell >::fillAgain ( const CaloCell & 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< CaloCell >::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::TileCellDetailsFillerTool::initialize ( )
virtual

Standard Gaudi initialize method.

@ brief Standard Gaudi initialize method.

Definition at line 49 of file TileCellDetailsFillerTool.cxx.

50 {
53 CHECK( m_tileBadChanTool.retrieve() );
55 m_run2plus = m_cabling->isRun2PlusCabling();
56
57 if (m_run2plus) {
58 for (int ros = 3; ros < 5; ++ros) {
59 for (int drawer = 0; drawer < 64; ++drawer) {
60 int drawer2 = m_cabling->E1_merged_with_run2plus(ros, drawer);
61 m_notRealE1run2[ros - 3][drawer2] = (drawer2 != 0);
62 }
63 }
64 }
65
66 return StatusCode::SUCCESS;
67 }
static const TileCablingService * getInstance()
get pointer to service instance
retrieve(aClass, aKey=None)
Definition PyKernel.py:110

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_cabling

const TileCablingService* D3PD::TileCellDetailsFillerTool::m_cabling
private

Definition at line 61 of file TileCellDetailsFillerTool.h.

◆ m_chan1Cells

short* D3PD::TileCellDetailsFillerTool::m_chan1Cells
private

Definition at line 109 of file TileCellDetailsFillerTool.h.

◆ m_chan2Cells

short* D3PD::TileCellDetailsFillerTool::m_chan2Cells
private

Definition at line 110 of file TileCellDetailsFillerTool.h.

◆ m_converter

TypeConverter D3PD::BlockFillerToolImpl::m_converter
privateinherited

Helper to do type conversions.

Definition at line 121 of file BlockFillerToolImpl.h.

◆ m_ediffCells

float* D3PD::TileCellDetailsFillerTool::m_ediffCells
private

Definition at line 102 of file TileCellDetailsFillerTool.h.

◆ m_gain1Cells

short* D3PD::TileCellDetailsFillerTool::m_gain1Cells
private

Definition at line 107 of file TileCellDetailsFillerTool.h.

◆ m_gain2Cells

short* D3PD::TileCellDetailsFillerTool::m_gain2Cells
private

Definition at line 108 of file TileCellDetailsFillerTool.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_moduleCells

uint16_t* D3PD::TileCellDetailsFillerTool::m_moduleCells
private

Definition at line 103 of file TileCellDetailsFillerTool.h.

◆ m_notRealE1run2

bool D3PD::TileCellDetailsFillerTool::m_notRealE1run2[2][64]
private

Definition at line 120 of file TileCellDetailsFillerTool.h.

◆ m_partitionCells

uint16_t* D3PD::TileCellDetailsFillerTool::m_partitionCells
private

Definition at line 104 of file TileCellDetailsFillerTool.h.

◆ m_pmt1Cells

short* D3PD::TileCellDetailsFillerTool::m_pmt1Cells
private

Definition at line 111 of file TileCellDetailsFillerTool.h.

◆ m_pmt2Cells

short* D3PD::TileCellDetailsFillerTool::m_pmt2Cells
private

Definition at line 112 of file TileCellDetailsFillerTool.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_qbits1

uint8_t* D3PD::TileCellDetailsFillerTool::m_qbits1
private

Definition at line 117 of file TileCellDetailsFillerTool.h.

◆ m_qbits2

uint8_t* D3PD::TileCellDetailsFillerTool::m_qbits2
private

Definition at line 118 of file TileCellDetailsFillerTool.h.

◆ m_qual1Cells

uint16_t* D3PD::TileCellDetailsFillerTool::m_qual1Cells
private

Definition at line 115 of file TileCellDetailsFillerTool.h.

◆ m_qual2Cells

uint16_t* D3PD::TileCellDetailsFillerTool::m_qual2Cells
private

Definition at line 116 of file TileCellDetailsFillerTool.h.

◆ m_run2plus

bool D3PD::TileCellDetailsFillerTool::m_run2plus
private

Definition at line 68 of file TileCellDetailsFillerTool.h.

◆ m_sampleCells

uint16_t* D3PD::TileCellDetailsFillerTool::m_sampleCells
private

Definition at line 106 of file TileCellDetailsFillerTool.h.

◆ m_saveCellDetails

bool D3PD::TileCellDetailsFillerTool::m_saveCellDetails
private

Definition at line 65 of file TileCellDetailsFillerTool.h.

◆ m_savePosition

bool D3PD::TileCellDetailsFillerTool::m_savePosition
private

Definition at line 66 of file TileCellDetailsFillerTool.h.

◆ m_status1Cells

uint16_t* D3PD::TileCellDetailsFillerTool::m_status1Cells
private

Definition at line 113 of file TileCellDetailsFillerTool.h.

◆ m_status2Cells

uint16_t* D3PD::TileCellDetailsFillerTool::m_status2Cells
private

Definition at line 114 of file TileCellDetailsFillerTool.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_tdiffCells

float* D3PD::TileCellDetailsFillerTool::m_tdiffCells
private

Definition at line 101 of file TileCellDetailsFillerTool.h.

◆ m_tileBadChanTool

ToolHandle<ITileBadChanTool> D3PD::TileCellDetailsFillerTool::m_tileBadChanTool
private

Definition at line 63 of file TileCellDetailsFillerTool.h.

◆ m_tilehwid

const TileHWID* D3PD::TileCellDetailsFillerTool::m_tilehwid
private

Definition at line 60 of file TileCellDetailsFillerTool.h.

◆ m_tileid

const TileID* D3PD::TileCellDetailsFillerTool::m_tileid
private

Definition at line 59 of file TileCellDetailsFillerTool.h.

◆ m_timeCells

float* D3PD::TileCellDetailsFillerTool::m_timeCells
private
  • Cell Energy in MeV
  • Eta position
  • Phi position- Number of Tile cells
  • Cell time in ns
  • X position
  • Y position
  • Z position
  • Difference of PMTs measurements:
  • PMTs Energy difference : (E1-E2).
  • PMTs Time difference : as (T1-T2)/2
  • Module number 1-64 : 1-64 module number by phi
  • Partition Number 1-4 : 1=LBA; 2=LBC; 3=EBA; 4= EBC
  • tower(eta) 0-15 : tower number by pseudorapidity with 0.1 increment in eta
  • sample 0-15 : 0 = A, 1 = B = BC = C, 2 = D, 3 = special gap scin cells E1-E4; >3 indiv. tile used in Cs calib
  • gain 0-1 : low-high gain; -1 PMT not available
  • chan 0-47 : channel number
  • PMT 1-48 : PMT number
  • Status 32-bit word : Bad channel word (0=good, bits correspond to specific hw or calib problems )
  • Quality Factor : The unsigned quality from TileRawChannel
  • Quality Bits : Bit mask containing channel quality info. See TileCell.h

Definition at line 97 of file TileCellDetailsFillerTool.h.

◆ m_towerCells

uint16_t* D3PD::TileCellDetailsFillerTool::m_towerCells
private

Definition at line 105 of file TileCellDetailsFillerTool.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.

◆ m_xCells

float* D3PD::TileCellDetailsFillerTool::m_xCells
private

Definition at line 98 of file TileCellDetailsFillerTool.h.

◆ m_yCells

float* D3PD::TileCellDetailsFillerTool::m_yCells
private

Definition at line 99 of file TileCellDetailsFillerTool.h.

◆ m_zCells

float* D3PD::TileCellDetailsFillerTool::m_zCells
private

Definition at line 100 of file TileCellDetailsFillerTool.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: