Classes | Namespaces | Macros | Variables
SPLifetime_module.cc File Reference
#include "art/Framework/Core/EDAnalyzer.h"
#include "art/Framework/Core/ModuleMacros.h"
#include "art/Framework/Core/FileBlock.h"
#include "art/Framework/Principal/Event.h"
#include "art/Framework/Principal/Handle.h"
#include "art/Framework/Principal/Run.h"
#include "art/Framework/Principal/SubRun.h"
#include "canvas/Utilities/InputTag.h"
#include "fhiclcpp/ParameterSet.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "larcore/Geometry/Geometry.h"
#include "lardata/DetectorInfoServices/LArPropertiesService.h"
#include "lardata/DetectorInfoServices/DetectorClocksService.h"
#include "larcoreobj/SimpleTypesAndConstants/geo_types.h"
#include "lardataobj/RecoBase/Hit.h"
#include "lardataobj/RecoBase/Wire.h"
#include "lardataobj/RecoBase/Cluster.h"
#include "art_root_io/TFileService.h"
#include "art_root_io/TFileDirectory.h"
#include "canvas/Persistency/Common/FindManyP.h"
#include "cetlib_except/exception.h"
#include <regex>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <array>
#include "TH1F.h"
#include "TH2F.h"
#include "TProfile.h"
#include "TCanvas.h"

Go to the source code of this file.

Classes

class  nlana::SPLifetime
 

Namespaces

 nlana
 

Macros

#define setHistTitles(hist, xtitle, ytitle)   hist->GetXaxis()->SetTitle(xtitle); hist->GetYaxis()->SetTitle(ytitle);
 
#define appendToHistTitle(hist, str)   hist->SetTitle((std::string(hist->GetTitle())+std::string(str)).c_str());
 

Variables

const std::array< size_t, 13 > tpcMapping = {{0,4,1,0,0,5,2,0,0,6,3,0,0}}
 
const std::array< std::string, 6 > apaLabels
 

Macro Definition Documentation

#define appendToHistTitle (   hist,
  str 
)    hist->SetTitle((std::string(hist->GetTitle())+std::string(str)).c_str());

Definition at line 48 of file SPLifetime_module.cc.

#define setHistTitles (   hist,
  xtitle,
  ytitle 
)    hist->GetXaxis()->SetTitle(xtitle); hist->GetYaxis()->SetTitle(ytitle);

Definition at line 47 of file SPLifetime_module.cc.

Variable Documentation

const std::array<std::string,6> apaLabels
Initial value:
= {{
"APA-DaS-US/APA5",
"APA-DaS-MS/APA6",
"APA-DaS-DS/APA4",
"APA-RaS-US/APA3",
"APA-RaS-MS/APA2",
"APA-RaS-DS/APA1",
}}

Definition at line 53 of file SPLifetime_module.cc.

const std::array<size_t,13> tpcMapping = {{0,4,1,0,0,5,2,0,0,6,3,0,0}}

Definition at line 51 of file SPLifetime_module.cc.