Create a CaloCellContainer with LArCells for POOL I/O tests algs.
More...
#include <LArCellContFakeCreator.h>
Create a CaloCellContainer with LArCells for POOL I/O tests algs.
Definition at line 36 of file LArCellContFakeCreator.h.
◆ LArCellContFakeCreator()
| LArCellContFakeCreator::LArCellContFakeCreator |
( |
| ) |
|
|
inline |
◆ createCaloCellContainer()
Create a CaloCellContainer with LAr cells.
Definition at line 61 of file LArCellContFakeCreator.h.
64{
65
66
67
68 CaloCellContainer* caloCont = new CaloCellContainer();
69
70
71 log << MSG::DEBUG <<
"Created CaloCellContainer" <<
endmsg;
72
73
76
80
81
82
87
91 prov = 2*
phi | 0x2000;
92 }
94
95 LArCell*
cell =
new LArCell(elem, energy, time, quality, prov, gain);
97
98
99
100 }
101 }
102
103 return (caloCont);
104}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
void push_back(CaloCell *)
reimplementation of const push_back
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
Identifier cell_id(const int subCalo, const int barec_or_posneg, const int sampling_or_fcalmodule, const int region_or_dummy, const int eta, const int phi) const
Make a cell (== channel) ID from constituting fields and subCalo index; for (Mini)FCAL,...
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
time(flags, cells_name, *args, **kw)
The documentation for this class was generated from the following file: