LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
SnippetHit3DBuilder_tool.cc File Reference

This tool provides "standard" 3D hits built (by this tool) from 2D hits. More...

#include "art/Framework/Core/ProducesCollector.h"
#include "art/Framework/Principal/Event.h"
#include "art/Framework/Principal/Handle.h"
#include "art/Framework/Services/Registry/ServiceHandle.h"
#include "art/Persistency/Common/PtrMaker.h"
#include "art/Utilities/ToolMacros.h"
#include "art_root_io/TFileDirectory.h"
#include "art_root_io/TFileService.h"
#include "canvas/Persistency/Common/Assns.h"
#include "canvas/Persistency/Common/FindOneP.h"
#include "canvas/Persistency/Common/Ptr.h"
#include "canvas/Utilities/InputTag.h"
#include "cetlib/cpu_timer.h"
#include "fhiclcpp/ParameterSet.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "larcore/Geometry/Geometry.h"
#include "lardata/ArtDataHelper/HitCreator.h"
#include "lardata/DetectorInfoServices/DetectorClocksService.h"
#include "lardata/DetectorInfoServices/DetectorPropertiesService.h"
#include "lardataobj/RecoBase/Hit.h"
#include "larevt/CalibrationDBI/Interface/ChannelStatusProvider.h"
#include "larevt/CalibrationDBI/Interface/ChannelStatusService.h"
#include "larreco/RecoAlg/Cluster3DAlgs/IHit3DBuilder.h"
#include <Eigen/Core>
#include <iostream>
#include <memory>
#include <numeric>
#include <string>
#include "TH1F.h"
#include "TTree.h"

Go to the source code of this file.

Classes

struct  lar_cluster3d::Hit2DSetCompare
 What follows are several highly useful typedefs which we want to expose to the outside world. More...
 
class  lar_cluster3d::SnippetHit3DBuilder
 SnippetHit3DBuilder class definiton. More...
 
struct  lar_cluster3d::HitPairClusterOrder
 
struct  lar_cluster3d::SetStartTimeOrder
 

Namespaces

 lar_cluster3d
 

Typedefs

using lar_cluster3d::HitVector = std::vector< const reco::ClusterHit2D * >
 
using lar_cluster3d::HitStartEndPair = std::pair< raw::TDCtick_t, raw::TDCtick_t >
 
using lar_cluster3d::SnippetHitMap = std::map< HitStartEndPair, HitVector >
 
using lar_cluster3d::PlaneToSnippetHitMap = std::map< geo::PlaneID, SnippetHitMap >
 
using lar_cluster3d::TPCToPlaneToSnippetHitMap = std::map< geo::TPCID, PlaneToSnippetHitMap >
 
using lar_cluster3d::Hit2DList = std::list< reco::ClusterHit2D >
 
using lar_cluster3d::Hit2DSet = std::set< const reco::ClusterHit2D *, Hit2DSetCompare >
 
using lar_cluster3d::WireToHitSetMap = std::map< unsigned int, Hit2DSet >
 
using lar_cluster3d::PlaneToWireToHitSetMap = std::map< geo::PlaneID, WireToHitSetMap >
 
using lar_cluster3d::TPCToPlaneToWireToHitSetMap = std::map< geo::TPCID, PlaneToWireToHitSetMap >
 
using lar_cluster3d::HitVectorMap = std::map< size_t, HitVector >
 
using lar_cluster3d::SnippetHitMapItrPair = std::pair< SnippetHitMap::iterator, SnippetHitMap::iterator >
 
using lar_cluster3d::PlaneSnippetHitMapItrPairVec = std::vector< SnippetHitMapItrPair >
 

Functions

bool lar_cluster3d::SetPeakHitPairIteratorOrder (const reco::HitPairList::iterator &left, const reco::HitPairList::iterator &right)
 
bool lar_cluster3d::SetPairStartTimeOrder (const reco::ClusterHit3D &left, const reco::ClusterHit3D &right)
 
bool lar_cluster3d::SetHitTimeOrder (const reco::ClusterHit2D *left, const reco::ClusterHit2D *right)
 

Detailed Description

This tool provides "standard" 3D hits built (by this tool) from 2D hits.

Definition in file SnippetHit3DBuilder_tool.cc.