18 #include "FWCore/Framework/interface/Event.h" 20 #include "FWCore/ParameterSet/interface/ParameterSet.h" 42 std::string category =
"Definitions";
43 tree_ = fs->make<TTree>(category.c_str(),category.c_str());
49 TFileDirectory subDir = fs->mkdir(
"Definitions" );
50 tree_ = subDir.make<TTree>(category.c_str(),category.c_str());
55 std::string category =
"Definitions";
56 tree_ = subDir.make<TTree>(category.c_str(),category.c_str());
62 TFileDirectory subSubDir = subDir.mkdir(
"Definitions" );
63 tree_ = subSubDir.make<TTree>(category.c_str(),category.c_str());
89 void Definitions::Add(
const std::vector<std::string> & names,
const std::vector<std::string> & aliases)
91 for (
size_t i = 0 ; i < names.size() ; ++i )
92 this ->
Add(names[i],aliases[i]);
97 tree_ ->Branch(alias.c_str(),(
void*)name.c_str(),
"string/C",1024);
void Add(const std::vector< std::string > &, const std::vector< std::string > &)