All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Processors.h File Reference
#include "lardata/DetectorInfoServices/DetectorPropertiesService.h"
#include "lardata/DetectorInfoServices/LArPropertiesService.h"
#include "lardata/DetectorInfoServices/DetectorClocksService.h"
#include "lardataobj/Simulation/SimChannel.h"
#include "lardataobj/Simulation/GeneratedParticleInfo.h"
#include "larpandora/LArPandoraInterface/LArPandoraHelper.h"

Go to the source code of this file.

Namespaces

 single_photon
 

Functions

int single_photon::spacecharge_correction (const art::Ptr< simb::MCParticle > &mcparticle, std::vector< double > &corrected, std::vector< double > &input)
 
int single_photon::spacecharge_correction (const art::Ptr< simb::MCParticle > &mcparticle, std::vector< double > &corrected)
 
int single_photon::spacecharge_correction (const simb::MCParticle &mcparticle, std::vector< double > &corrected)
 
void single_photon::CollectMCParticles (const art::Event &evt, const std::string &label, std::map< art::Ptr< simb::MCTruth >, std::vector< art::Ptr< simb::MCParticle >>> &truthToParticles, std::map< art::Ptr< simb::MCParticle >, art::Ptr< simb::MCTruth >> &particlesToTruth, std::map< int, art::Ptr< simb::MCParticle > > &MCParticleToTrackIdMap, var_all &vars)
 
void single_photon::CollectSimChannels (const art::Event &evt, const std::string &label, std::vector< art::Ptr< sim::SimChannel > > &simChannelVector)
 
void single_photon::BuildMCParticleHitMaps (const art::Event &evt, const std::string &label, const std::vector< art::Ptr< recob::Hit >> &hitVector, std::map< art::Ptr< simb::MCParticle >, std::vector< art::Ptr< recob::Hit > > > &particlesToHits, std::map< art::Ptr< recob::Hit >, art::Ptr< simb::MCParticle > > &hitsToParticles, const lar_pandora::LArPandoraHelper::DaughterMode daughterMode, std::map< int, art::Ptr< simb::MCParticle > > &MCParticleToTrackIdMap, var_all &vars)
 
bool single_photon::Pi0PreselectionFilter (var_all &vars, para_all &paras)
 
bool single_photon::Pi0PreselectionFilter2g0p (var_all &vars, para_all &paras)
 
bool single_photon::IsEventInList (int run, int subrun, int event, var_all &vars)
 
bool single_photon::isInsidev2 (std::vector< double > thishit_pos, std::vector< std::vector< double >> rectangle, para_all &paras)
 
double single_photon::CalcEShowerPlane (const std::vector< art::Ptr< recob::Hit >> &hits, int this_plane, para_all &paras)
 
double single_photon::GetQHit (art::Ptr< recob::Hit > thishitptr, int plane, para_all &paras)
 
double single_photon::QtoEConversion (double Q, para_all &paras)
 
std::vector< double > single_photon::CalcdEdxFromdQdx (std::vector< double > dqdx, para_all &paras)
 
std::vector< double > single_photon::CalcdQdxShower (const art::Ptr< recob::Shower > &shower, const std::vector< art::Ptr< recob::Cluster >> &clusters, std::map< art::Ptr< recob::Cluster >, std::vector< art::Ptr< recob::Hit >> > &clusterToHitMap, int plane, double triggeroffset, detinfo::DetectorPropertiesData const &theDetector, para_all &paras)
 
std::vector< double > single_photon::getPitch (TVector3 shower_dir, para_all &paras)
 
double single_photon::getMeanHitWidthPlane (std::vector< art::Ptr< recob::Hit >> hits, int this_plane)
 
int single_photon::getNHitsPlane (std::vector< art::Ptr< recob::Hit >> hits, int this_plane)
 
double single_photon::triangle_area (double a1, double a2, double b1, double b2, double c1, double c2)
 
int single_photon::quick_delaunay_fit (int n, double *X, double *Y, int *num_triangles, double *area)
 
int single_photon::delaunay_hit_wrapper (const std::vector< art::Ptr< recob::Hit >> &hits, std::vector< int > &num_hits, std::vector< int > &num_triangles, std::vector< double > &area, para_all &paras)