 |
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "dqm_core/Parameter.h"
11 #include "dqm_core/Region.h"
35 , m_pathName(
other.m_pathName)
37 TIter nextAssess( &
other.m_assessors );
44 TIter nextGroup( &
other.m_groups );
46 while( (otherGroup =
dynamic_cast<HanConfigGroup*
>( nextGroup() )) != 0 ) {
61 TIter nextAssess( &
other.m_assessors );
68 TIter nextGroup( &
other.m_groups );
70 while( (otherGroup =
dynamic_cast<HanConfigGroup*
>( nextGroup() )) != 0 ) {
154 GetGroup(
const std::string& name_ )
const
175 GetNode(
const std::string& name_ )
const
181 std::string::size_type
k = name_.find_first_of(
'/');
182 if(
k != std::string::npos ) {
183 std::string dName( name_, 0,
k );
184 std::string pName( name_,
k+1, std::string::npos );
186 if( dName == std::string(
GetName() ) ) {
193 return subreg->
GetNode( pName );
205 GetList( TDirectory* basedir, std::map<std::string,TSeqCollection*>& mp )
209 ret->SetName( this->
m_name.GetName() );
215 ret->Add( hca->
GetList(basedir,mp) );
219 while( (hcg =
dynamic_cast<HanConfigGroup*
>( nextGroup() )) != 0 )
220 ret->Add( hcg->
GetList(basedir,mp) );
228 Accept(
Visitor& visitor, boost::shared_ptr<dqm_core::Region> dqParent )
const
230 std::string nodeName(
GetName() );
231 boost::shared_ptr<dqm_core::Region> dqr;
232 if( nodeName !=
"top_level" ) {
233 boost::shared_ptr<dqm_core::Node> dqp(visitor.
Visit(
this, std::move(dqParent) ));
234 dqr = boost::dynamic_pointer_cast<dqm_core::Region>( dqp );
237 dqr = std::move(dqParent);
245 hca->
Accept(visitor, dqr);
248 std::cout <<
"Assess: Caught exception " <<
s.what() << std::endl;
256 hcg->
Accept(visitor, dqr);
259 std::cout <<
"Group: Caught exception " <<
s.what() << std::endl;
268 o <<
"\nHanConfigGroup: " <<
GetName() <<
"\n"
269 <<
" Algorithm Name = \"" <<
GetAlgName() <<
"\"\n"
275 o <<
" Algorithm Parameters = {\n";
283 while( (strPar =
dynamic_cast<HanConfigParMap*
>( nextStrPar() )) != 0 ) {
290 o <<
" Algorithm Limits = {\n";
300 o <<
"\n>> BEGIN SUB REGIONS of \"" <<
GetName() <<
"\"\n";
303 while( (hcg =
dynamic_cast<HanConfigGroup*
>( nextGroup() )) != 0 ) {
306 o <<
"\n<< END SUB REGIONS of \"" <<
GetName() <<
"\"\n";
310 o <<
"\n>> BEGIN ASSESSMENTS of \"" <<
GetName() <<
"\"\n";
316 o <<
"\n<< END ASSESSMENTS of \"" <<
GetName() <<
"\"\n";
virtual void PrintIOStream(std::ostream &o) const
virtual const char * GetAlgLibName() const
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
virtual HanConfigGroup GetGroup(const std::string &name_) const
virtual void AddGroup(const HanConfigGroup &hcg_)
virtual TSeqCollection * GetList(TDirectory *basedir, std::map< std::string, TSeqCollection * > &mp)
virtual void Accept(Visitor &visitor, boost::shared_ptr< dqm_core::Region > dqParent) const
virtual std::string GetAlgRefName() const
HanConfigGroup & operator=(const HanConfigGroup &other)
virtual TSeqCollection * GetList(TDirectory *basedir, std::map< std::string, TSeqCollection * > &mp)
virtual boost::shared_ptr< dqm_core::Node > Visit(const HanConfigAssessor *node, boost::shared_ptr< dqm_core::Region > dqParent)=0
HanConfigAssessor & operator=(const HanConfigAssessor &other)
virtual HanConfigGroup * GetNode(const std::string &name_) const
virtual const char * GetName() const
TSeqCollection * m_algLimits
virtual TIter GetAllAssessors() const
virtual const HanConfigAssessor GetAssessor(const std::string &name_) const
virtual TIter GetAllGroups() const
virtual ~HanConfigGroup()
virtual void Accept(Visitor &visitor, boost::shared_ptr< dqm_core::Region > dqParent) const
ClassImp(xAOD::Experimental::RFileChecker) namespace xAOD
virtual void AddAssessor(const HanConfigAssessor &hcass_)
virtual std::string GetUniqueName() const
TSeqCollection * m_algPars
virtual float GetWeight() const
TSeqCollection * m_algStrPars
virtual void SetPathName(const std::string &name_)
virtual const char * GetAlgName() const
virtual const char * GetPathName() const