8 #ifndef VERTEX_AGGREGATEVERTEXANA_H 9 #define VERTEX_AGGREGATEVERTEXANA_H 12 #include <sys/types.h> 103 HnVtxes = tfs->
make<TH1F>(
"Num Vertices",
"Num Vertices",8,-0.5,7.5);
104 HVtxSep = tfs->
make<TH1F>(
"Vertices spacing",
"Vertices spacing",20,0.001,5.0);
105 HVtxRZ = tfs->
make<TH2F>(
"Vtx in RZ",
"Vtx in RZ",20,-50.0,+50.0,20,0.0,50.0);
106 HnTrksVtx = tfs->
make<TH1F>(
"Tracks per vtx",
"Tracks per vtx",8,-0.5,7.5);
116 for(
unsigned int ii = 0; ii < hitListHandle->size(); ++ii){
123 for(
unsigned int ii = 0; ii < epListHandle->size(); ++ii){
130 for(
unsigned int ii = 0; ii < trackListHandle->size(); ++ii){
137 for(
unsigned int ii = 0; ii < vertexListHandle->size(); ++ii){
149 std::vector< art::Ptr<recob::Track> > tvlist = fmt.at(v1);
153 if(tvlist.size() < 1)
continue;
155 std::vector< art::Ptr<recob::Hit> > hitvlist = fmh.at(v1);
164 std::vector< art::Ptr<recob::Hit> > hitvlist2 = fmh.at(v2);
166 std::vector< art::Ptr<recob::Hit> >
::const_iterator hitv2 = hitvlist2.begin();
169 while( hitv != hitvlist.end() ){
170 while( hitv2 != hitvlist2.end() ){
172 mf::LogInfo(
"AggregateVertexAna") <<
"AggregateVertexAna: dist is " << dist.Mag() <<
".";
191 #endif // AGGREGATEVTXANA_H
std::string fTrack3DModuleLabel
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
Declaration of signal hit object.
art::PtrVector< recob::Track > ftracklist
std::string fHoughModuleLabel
art::PtrVector< recob::Hit > fhitlist
void analyze(const art::Event &evt)
std::string fVertexModuleLabel
std::string fHitModuleLabel
art::PtrVector< recob::EndPoint2D > feplist
#define DEFINE_ART_MODULE(klass)
Provides recob::Track data product.
void push_back(Ptr< U > const &p)
EDAnalyzer(Table< Config > const &config)
Detector simulation of raw signals on wires.
data_t::const_iterator const_iterator
std::string fEndPointModuleLabel
T * make(ARGS...args) const
Utility object to perform functions of association.
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
art::PtrVector< recob::Vertex > fVertexlist
std::string fDBScanModuleLabel
AggregateVertexAna(fhicl::ParameterSet const &pset)