11 #include "../cvstags/TTagsModule.cxx"
19 "Standard module which stores any information from the /tags section "
23 ND::TFieldManager::InitializeFieldManager();
27 ND280NamedWarn(
"TTagsModule",
" Configure");
28 ND280NamedWarn(
"TTagsModule",
" options"<<option);
33 fOutputTree->Branch(
"Tags", &fTags);
34 fOutputTree->Branch(
"Jobs", &fJobs);
39 ND280Warn(
" entered ND::TTagsModule::FillTree ");
41 ND::THandle<ND::TDataVector> tags =
event.Get<ND::TDataVector>(
"tags");
45 for (ND::TDataVector::iterator element = tags->begin(); element != tags->end(); ++element)
47 ND::TND280Tags* thisTag=
dynamic_cast<ND::TND280Tags*
> (*element);
49 ND::TND280Tags::tagsMap M=thisTag->GetMap();
50 M[
"TAG:"]=Form(
"%s:%s",thisTag->GetName(),thisTag->GetTitle());
55 ND::THandle<ND::TDataVector> jobs =
event.Get<ND::TDataVector>(
"tags/jobs");
59 for (ND::TDataVector::iterator element = jobs->begin(); element != jobs->end(); ++element)
61 ND::TND280Tags* thisJob=
dynamic_cast<ND::TND280Tags*
> (*element);
63 ND::TND280Tags::tagsMap M=thisJob->GetMap();
64 M[Form(
"JOB: %d",iJob++)]=Form(
"%s:%s",thisJob->GetName(),thisJob->GetTitle());
std::string fDescription
A longish descrition of the analysis.
std::string fCVSID
Defined if an official tagged version.
void SetNameTitle(char const *name, char const *title)
std::string fCVSTagName
Defined if an official tagged version.