Skip to content

Instantly share code, notes, and snippets.

View vgenty's full-sized avatar

Victor Genty vgenty

  • Austin, TX
View GitHub Profile
Python 2.7.10 (default, Jan 31 2018, 14:07:19)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
>>> tf = ROOT.TFile.Open("1e1p_study.root")
tfTClass::Init:0: RuntimeWarning: no dictionary for class larcv::EventImage2D is available
TClass::Init:0: RuntimeWarning: no dictionary for class larcv::EventBase is available
TClass::Init:0: RuntimeWarning: no dictionary for class larcv::Image2D is available
TClass::Init:0: RuntimeWarning: no dictionary for class larcv::ImageMeta is available
TClass::Init:0: RuntimeWarning: no dictionary for class larcv::Point2D is available
Python 2.7.10 (default, Jan 31 2018, 14:07:19)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
>>> tf = ROOT.TFile.Open("1e1p_study.root")
tfTClass::Init:0: RuntimeWarning: no dictionary for class larcv::EventImage2D is available
TClass::Init:0: RuntimeWarning: no dictionary for class larcv::EventBase is available
TClass::Init:0: RuntimeWarning: no dictionary for class larcv::Image2D is available
TClass::Init:0: RuntimeWarning: no dictionary for class larcv::ImageMeta is available
TClass::Init:0: RuntimeWarning: no dictionary for class larcv::Point2D is available
root -l 1e1p_study.root
.ls
root [0]
Attaching file 1e1p_study.root as _file0...
Warning in <TClass::Init>: no dictionary for class larcv::EventImage2D is available
Warning in <TClass::Init>: no dictionary for class larcv::EventBase is available
Warning in <TClass::Init>: no dictionary for class larcv::Image2D is available
Warning in <TClass::Init>: no dictionary for class larcv::ImageMeta is available
Warning in <TClass::Init>: no dictionary for class larcv::Point2D is available
Warning in <TClass::Init>: no dictionary for class larcv::EventChStatus is available
dllee_vertex
FinalVertexVariables
intermediate_file
multipid_out
opreco
perceptron_out
reco2d
showerqualsingle
shower_reco_out
shower_truth_match
larlitecv/app/ChargeSegmentAlgos/RadialSegmentSearch.cxx
std::vector< std::vector< larcv::Pixel2D > > RadialSegmentSearch::defineProjectedDiamondBoundary( const std::vector<float>& center3d, const std::vector<larcv:\
:Image2D>& img_v, const float radius ) {
// we define a rhombus around the center3d point.
// it is formed from the intersection of the U,V wires
// we also define the box around the enclosing Y-wires
const larcv::ImageMeta& meta = img_v.front().meta();
Double_t upstreampt[3] = {center3d[0],center3d[1],center3d[2]};
Double_t dnstreampt[3] = {center3d[0],center3d[1],center3d[2]};
upstreampt[2] -= radius;
#7 0x00007ffff655c61c in larlitecv::RadialSegmentSearch::defineProjectedDiamondBoundary (this=this@entry=0x55556c2d9d20,
center3d=std::vector of length 3, capacity 3 = {...}, img_v=std::vector of length 3, capacity 4 = {...}, radius=radius@entry=2)
at RadialSegmentSearch.cxx:136
136 colbounds[p][1] = meta.col( wirebounds[p][1] );
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1 0x00007ffff4a473ea in __GI_abort () at abort.c:89
#2 0x00007ffff507f58d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff507d336 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff507d381 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff507d599 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff6a96299 in larcv::ImageMeta::col (this=this@entry=0x55556c568208, x=-0.46853628754615784) at ImageMeta.cxx:23
#7 0x00007ffff655c61c in larlitecv::RadialSegmentSearch::defineProjectedDiamondBoundary (this=this@entry=0x55556c2d9d20,
center3d=std::vector of length 3, capacity 3 = {...}, img_v=std::vector of length 3, capacity 4 = {...}, radius=radius@entry=2)
at RadialSegmentSearch.cxx:136
static std::vector<int> larcv::UBWireTool::getProjectedImagePixel(const std::vector<float>&, const larcv::ImageMeta&, int, float): v-plane corner hack (76.4598,-
116.96,0.478875)
static std::vector<int> larcv::UBWireTool::getProjectedImagePixel(const std::vector<float>&, const larcv::ImageMeta&, int, float) plane=1 wire=-1.03185<-1.5
static std::vector<int> larcv::UBWireTool::getProjectedImagePixel(const std::vector<float>&, const larcv::ImageMeta&, int, float): v-plane corner hack (76.4598,-
116.96,0.478875)
static std::vector<int> larcv::UBWireTool::getProjectedImagePixel(const std::vector<float>&, const larcv::ImageMeta&, int, float) plane=1 wire=-1.03185<-1.5
static std::vector<int> larcv::UBWireTool::getProjectedImagePixel(const std::vector<float>&, const larcv::ImageMeta&, int, float): v-plane corner hack (76.4598,-
116.96,0.478875)
static std::vector<int> larcv::UBWireTool::getProjectedImagePixel(const std::vector<float>&, const larcv::ImageMeta&, int, float) plane=1 wire=-1.03185<-1.5
static std::vect
root [1] .ls
TFile** /data/vgenty/michel/ssnet/../fake/fake_roi_out_01100.root
TFile* /data/vgenty/michel/ssnet/../fake/fake_roi_out_01100.root
KEY: TTree image2d_wire_tree;1 wire tree
KEY: TTree image2d_pmt_tree;1 pmt tree
KEY: TTree chstatus_wire_tree;1 wire tree
KEY: TTree partroi_fake_tree;1 fake tree