|
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 ) {
60 TIter nextAssess( &
other.m_assessors );
67 TIter nextGroup( &
other.m_groups );
69 while( (otherGroup =
dynamic_cast<HanConfigGroup*
>( nextGroup() )) != 0 ) {
152 GetGroup(
const std::string& name_ )
const
173 GetNode(
const std::string& name_ )
const
179 std::string::size_type
k = name_.find_first_of(
'/');
180 if(
k != std::string::npos ) {
181 std::string dName( name_, 0,
k );
182 std::string pName( name_,
k+1, std::string::npos );
184 if( dName == std::string(
GetName() ) ) {
191 return subreg->
GetNode( pName );
203 GetList( TDirectory* basedir, std::map<std::string,TSeqCollection*>& mp )
207 ret->SetName( this->
m_name.GetName() );
213 ret->Add( hca->
GetList(basedir,mp) );
217 while( (hcg =
dynamic_cast<HanConfigGroup*
>( nextGroup() )) != 0 )
218 ret->Add( hcg->
GetList(basedir,mp) );
226 Accept(
Visitor& visitor, boost::shared_ptr<dqm_core::Region> dqParent )
const
228 std::string nodeName(
GetName() );
229 boost::shared_ptr<dqm_core::Region> dqr;
230 if( nodeName !=
"top_level" ) {
231 boost::shared_ptr<dqm_core::Node> dqp(visitor.
Visit(
this, dqParent ));
232 dqr = boost::dynamic_pointer_cast<dqm_core::Region>( dqp );
243 hca->
Accept( visitor, dqr );
248 while( (hcg =
dynamic_cast<HanConfigGroup*
>( nextGroup() )) != 0 ) {
249 hcg->
Accept( visitor, dqr );
258 o <<
"\nHanConfigGroup: " <<
GetName() <<
"\n"
259 <<
" Algorithm Name = \"" <<
GetAlgName() <<
"\"\n"
265 o <<
" Algorithm Parameters = {\n";
273 while( (strPar =
dynamic_cast<HanConfigParMap*
>( nextStrPar() )) != 0 ) {
280 o <<
" Algorithm Limits = {\n";
290 o <<
"\n>> BEGIN SUB REGIONS of \"" <<
GetName() <<
"\"\n";
293 while( (hcg =
dynamic_cast<HanConfigGroup*
>( nextGroup() )) != 0 ) {
296 o <<
"\n<< END SUB REGIONS of \"" <<
GetName() <<
"\"\n";
300 o <<
"\n>> BEGIN ASSESSMENTS of \"" <<
GetName() <<
"\"\n";
306 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
ClassImp(xAOD::TFileChecker) namespace xAOD
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
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