Definition at line 32 of file TPCPurityInfoAna_module.cc.
ana::TPCPurityInfoAna::TPCPurityInfoAna |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
explicit |
void ana::TPCPurityInfoAna::analyze |
( |
art::Event const & |
e | ) |
|
|
override |
Definition at line 75 of file TPCPurityInfoAna_module.cc.
80 <<
", Subrun " <<
e.subRun()
81 <<
", Event " <<
e.event()
84 art::Handle< std::vector<anab::TPCPurityInfo> > purityInfoHandle;
86 auto const& purityInfoVec(*purityInfoHandle);
89 std::cout <<
"\tThere are " << purityInfoVec.size() <<
" purity info objects in the event."
92 for(
auto const& pinfo : purityInfoVec){
94 fPurityTuple->Fill(
e.run(),
e.subRun(),
e.event(),pinfo.Cryostat,pinfo.TPC,pinfo.Wires,pinfo.Ticks,pinfo.Attenuation,pinfo.FracError);
art::InputTag const fPurityInfoLabel
BEGIN_PROLOG could also be cout
void ana::TPCPurityInfoAna::beginJob |
( |
| ) |
|
|
override |
Definition at line 66 of file TPCPurityInfoAna_module.cc.
70 art::ServiceHandle<art::TFileService>
tfs;
72 fPurityTuple = tfs->make<TNtuple>(
"purityTuple",
"Purity Tuple",
"run:subrun:ev:cryo:tpc:wires:ticks:att:err");
art::ServiceHandle< art::TFileService > tfs
bool ana::TPCPurityInfoAna::fPrintInfo |
|
private |
art::InputTag const ana::TPCPurityInfoAna::fPurityInfoLabel |
|
private |
TNtuple* ana::TPCPurityInfoAna::fPurityTuple |
|
private |
The documentation for this class was generated from the following file: