Draws some plots of detector activity with time. For simulation. More...
#include "Binner.h"
#include "icarusalg/Utilities/ROOTutils.h"
#include "icarusalg/gallery/helpers/C++/expandInputFiles.h"
#include "lardataobj/Simulation/SimChannel.h"
#include "lardataobj/Simulation/SimPhotons.h"
#include "lardataobj/Simulation/SimEnergyDeposit.h"
#include "lardataalg/DetectorInfo/DetectorPropertiesStandardTestHelpers.h"
#include "lardataalg/DetectorInfo/DetectorPropertiesStandard.h"
#include "lardataalg/DetectorInfo/DetectorPropertiesData.h"
#include "lardataalg/DetectorInfo/DetectorClocksStandardTestHelpers.h"
#include "lardataalg/DetectorInfo/DetectorClocksStandard.h"
#include "lardataalg/DetectorInfo/DetectorClocksStandardDataFor.h"
#include "lardataalg/DetectorInfo/DetectorClocksData.h"
#include "lardataalg/DetectorInfo/LArPropertiesStandardTestHelpers.h"
#include "lardataalg/DetectorInfo/LArPropertiesStandard.h"
#include "icarusalg/Geometry/ICARUSChannelMapAlg.h"
#include "larcorealg/Geometry/StandaloneGeometrySetup.h"
#include "larcorealg/Geometry/GeometryCore.h"
#include "larcorealg/Geometry/StandaloneBasicSetup.h"
#include "lardataalg/DetectorInfo/DetectorTimings.h"
#include "lardataalg/DetectorInfo/DetectorTimingTypes.h"
#include "lardataalg/Utilities/StatCollector.h"
#include "lardataalg/Utilities/intervals_fhicl.h"
#include "lardataalg/Utilities/quantities/energy.h"
#include "lardataalg/Utilities/quantities/electronics.h"
#include "lardataalg/Utilities/quantities/spacetime.h"
#include "larcorealg/CoreUtils/enumerate.h"
#include "gallery/Event.h"
#include "canvas/Utilities/InputTag.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "fhiclcpp/types/Table.h"
#include "fhiclcpp/types/Atom.h"
#include "fhiclcpp/ParameterSet.h"
#include "TFile.h"
#include "TDirectory.h"
#include "TProfile.h"
#include <algorithm>
#include <vector>
#include <array>
#include <memory>
#include <iostream>
#include <limits>
#include <cmath>
#include <iterator>
Go to the source code of this file.
Classes | |
class | PlotDetectorActivityRates |
Produces plots. Aaah! More... | |
struct | PlotDetectorActivityRates::AlgorithmConfiguration |
Data structure with all the configuration. More... | |
struct | PlotDetectorActivityRates::AlgorithmConfiguration::BinConfig< Point > |
struct | PlotDetectorActivityRates::FHiCLconfig |
struct | PlotDetectorActivityRates::FHiCLconfig::BinningConfig< Point, Interval > |
Functions | |
int | makePlots (std::string const &configFile, std::vector< std::string > const &inputFiles) |
Runs the analysis macro. More... | |
int | makePlots (std::string const &configFile, std::string filename) |
Version with a single input file. More... | |
int | main (int argc, char **argv) |
Draws some plots of detector activity with time. For simulation.
The configuration requires:
services
table with Geometry
, LArPropertiesService
, DetectorClocksService
and DetectorPropertiesService
analysis
table configuring the job Definition in file DetectorActivityRatePlots.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 996 of file DetectorActivityRatePlots.cpp.
int makePlots | ( | std::string const & | configFile, |
std::vector< std::string > const & | inputFiles | ||
) |
Runs the analysis macro.
configFile | path to the FHiCL configuration to be used for the services |
inputFiles | vector of path of file names |
Definition at line 846 of file DetectorActivityRatePlots.cpp.
int makePlots | ( | std::string const & | configFile, |
std::string | filename | ||
) |
Version with a single input file.
Definition at line 992 of file DetectorActivityRatePlots.cpp.