 |
ATLAS Offline Software
|
Go to the documentation of this file.
77 for (
unsigned i=0;
i<nScint;
i++) {
85 for (
unsigned i=0;
i<nBPCs;
i++) {
116 return StatusCode::SUCCESS;
128 return StatusCode::SUCCESS;
130 return StatusCode::FAILURE;
142 const std::string
name = scint->getDetectorName();
146 unsigned NtupleVectorIndex;
147 for ( NtupleVectorIndex=0; NtupleVectorIndex!=nScint; NtupleVectorIndex++)
152 if (NtupleVectorIndex==nScint) {
157 (*m_scint_adc)[NtupleVectorIndex] = scint->getSignal();
158 (*m_scint_tdc)[NtupleVectorIndex] = scint->getTimeSignal();
168 return StatusCode::SUCCESS;
170 return StatusCode::FAILURE;
178 for (
const TBBPC * bpc : *bpcc) {
179 std::string
name = bpc->getDetectorName();
180 unsigned NtupleVectorIndex;
181 for ( NtupleVectorIndex=0; NtupleVectorIndex!=nBPCs; NtupleVectorIndex++)
184 if (NtupleVectorIndex==nBPCs)
187 (*m_bpc_x)[NtupleVectorIndex] = bpc->getXPos();
188 (*m_bpc_y)[NtupleVectorIndex] = bpc->getYPos();
205 for (
const TBBPCRaw * bpcr : *bpccr) {
206 std::string
name = bpcr->getDetectorName();
207 unsigned NtupleVectorIndex;
208 for ( NtupleVectorIndex=0; NtupleVectorIndex!=nBPCs; NtupleVectorIndex++){
212 (*m_bpc_up)[NtupleVectorIndex] = bpcr->getTDCUp();
213 (*m_bpc_down)[NtupleVectorIndex] = bpcr->getTDCDown();
214 (*m_bpc_right)[NtupleVectorIndex] = bpcr->getTDCRight();
215 (*m_bpc_left)[NtupleVectorIndex] = bpcr->getTDCLeft();
216 (*m_bpc_adc_hor)[NtupleVectorIndex] = bpcr->getADCHorizontal();
217 (*m_bpc_adc_ver)[NtupleVectorIndex] = bpcr->getADCVertical();
230 return StatusCode::SUCCESS;
232 return StatusCode::FAILURE;
246 return StatusCode::SUCCESS;
248 return StatusCode::FAILURE;
275 return StatusCode::SUCCESS;
303 return StatusCode::SUCCESS;
309 return StatusCode::SUCCESS;
314 for (
unsigned i=0;
i<extension.size();
i++) {
315 const char&
ch=extension[
i];
316 if (
ch==
'=' ||
ch==
':' ||
ch==
'/')
std::vector< float > * m_bpc_down
raw data class for BPC measurement
std::vector< std::string > * m_bpc_ntnames
std::vector< float > * m_bpc_x
std::vector< float > * m_bpc_up
std::vector< unsigned int > m_triggflag
std::string add_name(const char *base, const std::string &extension)
std::vector< float > * m_bpc_adc_hor
std::vector< long > * m_trig_sel
std::string m_containerKey4
std::vector< float > * m_scint_adc
unsigned int getTriggerWord() const
std::vector< std::string > m_bpc_names
virtual ~CBNTAA_BeamInstrumentation()
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
std::vector< std::string > * m_scint_ntnames
virtual StatusCode CBNT_execute() override
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
void addBranch(const std::string &branchname, T &obj, const std::string &leaflist)
std::vector< float > * m_bpc_left
std::vector< float > * m_scint_tdc
std::string m_containerKey5
bool m_neverReturnFailure
virtual StatusCode CBNT_clear() override
CBNTAA_BeamInstrumentation(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< float > * m_bpc_adc_ver
std::string m_containerKey2
std::string m_containerKey1
std::vector< float > * m_bpc_y
virtual StatusCode CBNT_initialize() override
std::vector< std::string > m_scint_names
std::string m_containerKey3
virtual StatusCode CBNT_finalize() override
std::vector< float > * m_bpc_right