All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
TFileMetadataICARUS_service.cc File Reference
#include <algorithm>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdio.h>
#include <string>
#include <vector>
#include <numeric>
#include "icaruscode/TPC/Utilities/TFileMetadataICARUS.h"
#include "icaruscode/TPC/Utilities/FileCatalogMetadataICARUS.h"
#include "art_root_io/RootDB/SQLite3Wrapper.h"
#include "art_root_io/RootDB/SQLErrMsg.h"
#include "art/Framework/Principal/Event.h"
#include "art/Framework/Principal/SubRun.h"
#include "art/Framework/Services/Registry/ServiceHandle.h"
#include "art/Framework/Services/Registry/ServiceDefinitionMacros.h"
#include "art/Framework/Services/System/FileCatalogMetadata.h"
#include "art/Framework/Services/System/TriggerNamesService.h"
#include "art/Utilities/OutputFileInfo.h"
#include "cetlib_except/exception.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "TROOT.h"
#include "TFile.h"
#include "TTimeStamp.h"

Go to the source code of this file.

Functions

 getProcessName ()}
 

Function Documentation

getProcessName ( )

Definition at line 82 of file TFileMetadataICARUS_service.cc.

82  {"", art::ServiceHandle<art::TriggerNamesService const>{}->getProcessName()}
83 {
84  if (fGenerateTFileMetadata) {
85  md.fdata_tier = pset.get<std::string>("dataTier");
86  md.ffile_format = pset.get<std::string>("fileFormat");
87 
88  reg.sPostBeginJob.watch(this, &TFileMetadataICARUS::postBeginJob);
89  reg.sPostOpenFile.watch(this, &TFileMetadataICARUS::postOpenInputFile);
90  reg.sPostCloseFile.watch(this, &TFileMetadataICARUS::postCloseInputFile);
91  reg.sPostProcessEvent.watch(this, &TFileMetadataICARUS::postEvent);
92  reg.sPostBeginSubRun.watch(this, &TFileMetadataICARUS::postBeginSubRun);
93  }
94 }