Public Member Functions | |
SBNDOpT0Finder (fhicl::ParameterSet const &p) | |
SBNDOpT0Finder (SBNDOpT0Finder const &)=delete | |
SBNDOpT0Finder (SBNDOpT0Finder &&)=delete | |
SBNDOpT0Finder & | operator= (SBNDOpT0Finder const &)=delete |
SBNDOpT0Finder & | operator= (SBNDOpT0Finder &&)=delete |
void | produce (art::Event &e) override |
Private Member Functions | |
void | DoMatch (art::Event &e, int tpc, std::unique_ptr< std::vector< anab::T0 >> &t0_v, std::unique_ptr< art::Assns< recob::Slice, anab::T0 >> &slice_t0_assn_v, std::unique_ptr< art::Assns< recob::OpFlash, anab::T0 >> &flash_t0_assn_v) |
Performs the matching in a specified tpc. More... | |
bool | ConstructLightClusters (art::Event &e, unsigned int tpc) |
Constructs all the LightClusters (TPC Objects) in a specified TPC. More... | |
float | GetNPhotons (const float charge, const art::Ptr< recob::PFParticle > &pfp) |
Returns the number of photons given charge and PFParticle. More... | |
std::vector< int > | PDNamesToList (std::vector< std::string >) |
Convert from a list of PDS names to a list of op channels. More... | |
std::vector< int > | GetUncoatedPTMList (std::vector< int > ch_to_use) |
Returns a list of uncoated PMTs that are a subset of those in ch_to_use. More... | |
Private Attributes | |
std::unique_ptr < SemiAnalyticalModel > | _semi_model |
fhicl::ParameterSet | _vuv_params |
fhicl::ParameterSet | _vis_params |
::flashmatch::FlashMatchManager | _mgr |
The flash matching manager. More... | |
std::vector < flashmatch::FlashMatch_t > | _result_v |
Matching result will be stored here. More... | |
std::vector< std::string > | _opflash_producer_v |
The OpFlash producers (to be set) More... | |
std::vector< unsigned int > | _tpc_v |
TPC number per OpFlash producer (to be set) More... | |
std::string | _slice_producer |
The Slice producer (to be set) More... | |
double | _flash_trange_start |
The time start from where to include flashes (to be set) More... | |
double | _flash_trange_end |
The time stop from where to stop including flashes (to be set) More... | |
float | _charge_to_n_photons_track |
The conversion factor betweeen hit integral and photons (to be set) More... | |
float | _charge_to_n_photons_shower |
The conversion factor betweeen hit integral and photons (to be set) More... | |
std::vector< std::string > | _photo_detectors |
The photodetector to use (to be set) More... | |
std::vector< int > | _opch_to_use |
List of opch to use (will be infered from _photo_detectors) More... | |
std::vector< int > | _uncoated_pmts |
List of uncoated opch to use (will be infered from _opch_to_use) More... | |
opdet::sbndPDMapAlg | _pds_map |
map for photon detector types More... | |
std::vector < flashmatch::QCluster_t > | _light_cluster_v |
Vector that contains all the TPC objects. More... | |
std::map< int, art::Ptr < recob::Slice > > | _clusterid_to_slice |
std::map< int, art::Ptr < recob::OpFlash > > | _flashid_to_opflash |
Will contain map tpc object id -> Slice. More... | |
TTree * | _tree1 |
Will contain map flash id -> OpFlash. More... | |
int | _run |
int | _subrun |
int | _event |
int | _tpc |
int | _matchid |
int | _flashid |
int | _tpcid |
double | _t0 |
double | _score |
double | _tpc_xmin |
double | _qll_xmin |
double | _hypo_pe |
double | _flash_pe |
std::vector< double > | _flash_spec |
std::vector< double > | _hypo_spec |
TTree * | _tree2 |
std::vector< float > | _dep_x |
std::vector< float > | _dep_y |
std::vector< float > | _dep_z |
std::vector< float > | _dep_charge |
std::vector< float > | _dep_n_photons |
std::vector< int > | _dep_slice |
Definition at line 56 of file SBNDOpT0Finder_module.cc.
|
explicit |
Definition at line 137 of file SBNDOpT0Finder_module.cc.
|
delete |
|
delete |
|
private |
Constructs all the LightClusters (TPC Objects) in a specified TPC.
Definition at line 402 of file SBNDOpT0Finder_module.cc.
|
private |
Performs the matching in a specified tpc.
Definition at line 250 of file SBNDOpT0Finder_module.cc.
|
private |
Returns the number of photons given charge and PFParticle.
Definition at line 520 of file SBNDOpT0Finder_module.cc.
|
private |
Returns a list of uncoated PMTs that are a subset of those in ch_to_use.
Definition at line 539 of file SBNDOpT0Finder_module.cc.
|
delete |
|
delete |
|
private |
Convert from a list of PDS names to a list of op channels.
Definition at line 526 of file SBNDOpT0Finder_module.cc.
|
override |
Definition at line 211 of file SBNDOpT0Finder_module.cc.
|
private |
The conversion factor betweeen hit integral and photons (to be set)
Definition at line 107 of file SBNDOpT0Finder_module.cc.
|
private |
The conversion factor betweeen hit integral and photons (to be set)
Definition at line 106 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 118 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 132 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 132 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 133 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 132 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 132 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 132 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 122 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 127 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 128 of file SBNDOpT0Finder_module.cc.
|
private |
The time stop from where to stop including flashes (to be set)
Definition at line 104 of file SBNDOpT0Finder_module.cc.
|
private |
The time start from where to include flashes (to be set)
Definition at line 103 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 124 of file SBNDOpT0Finder_module.cc.
|
private |
Will contain map tpc object id -> Slice.
Definition at line 119 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 127 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 129 of file SBNDOpT0Finder_module.cc.
|
private |
Vector that contains all the TPC objects.
Definition at line 116 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 124 of file SBNDOpT0Finder_module.cc.
|
private |
The flash matching manager.
Definition at line 96 of file SBNDOpT0Finder_module.cc.
|
private |
List of opch to use (will be infered from _photo_detectors)
Definition at line 110 of file SBNDOpT0Finder_module.cc.
|
private |
The OpFlash producers (to be set)
Definition at line 99 of file SBNDOpT0Finder_module.cc.
|
private |
map for photon detector types
Definition at line 113 of file SBNDOpT0Finder_module.cc.
|
private |
The photodetector to use (to be set)
Definition at line 109 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 126 of file SBNDOpT0Finder_module.cc.
|
private |
Matching result will be stored here.
Definition at line 97 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 122 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 125 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 92 of file SBNDOpT0Finder_module.cc.
|
private |
The Slice producer (to be set)
Definition at line 101 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 122 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 125 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 123 of file SBNDOpT0Finder_module.cc.
|
private |
TPC number per OpFlash producer (to be set)
Definition at line 100 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 126 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 124 of file SBNDOpT0Finder_module.cc.
|
private |
Will contain map flash id -> OpFlash.
Definition at line 121 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 131 of file SBNDOpT0Finder_module.cc.
|
private |
List of uncoated opch to use (will be infered from _opch_to_use)
Definition at line 111 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 94 of file SBNDOpT0Finder_module.cc.
|
private |
Definition at line 93 of file SBNDOpT0Finder_module.cc.