File indexing completed on 2025-02-26 09:17:31
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include "Detector/DeVP.h"
0018 #include "DD4hep/Printout.h"
0019
0020 using namespace gaudi::detail;
0021
0022
0023 void DeVPGenericStaticObject::initialize() {
0024 this->DeStaticObject::initialize();
0025 }
0026
0027
0028 void DeVPGenericStaticObject::print(int indent, int flg) const {
0029 std::string prefix = DE::indent(indent);
0030 DeStaticObject::print(indent, flg);
0031 if ( flg & DePrint::SPECIFIC ) {
0032 printout(INFO,"DeVPGenStatic", "%s+ >> %ld Sensor(s)", prefix.c_str(), sensors.size());
0033 }
0034 for(size_t i=0; i<sensors.size(); ++i) {
0035 if ( sensors[i].isValid() ) {
0036 printout(INFO,"DeVeloGenStatic", "%s+ >> [%ld] %s",
0037 prefix.c_str(), i, sensors[i]->detector.path().c_str());
0038 }
0039 }
0040 }
0041
0042
0043 void DeVPGenericObject::initialize() {
0044 this->DeIOVObject::initialize();
0045 }
0046
0047
0048 void DeVPGenericObject::print(int indent, int flg) const {
0049 std::string prefix = DE::indent(indent);
0050 DeIOVObject::print(indent, flg);
0051 if ( flg & DePrint::SPECIFIC ) {
0052 printout(INFO,"DeVPGen", "%s+ >> %ld Sensor(s)", prefix.c_str(), sensors.size());
0053 }
0054 for(size_t i=0; i<sensors.size(); ++i) {
0055 if ( sensors[i].isValid() ) {
0056 printout(INFO,"DeVeloGenStatic", "%s+ >> [%ld] %s",
0057 prefix.c_str(), i, sensors[i]->detector.path().c_str());
0058 }
0059 }
0060 }