/usr/include/HepMC/SearchVector.h is in libhepmc-dev 2.06.09-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #ifndef SearchVector_h
#define SearchVector_h
// ----------------------------------------------------------------------
//
// SearchVector.h
// Author: Lynn Garren
//
// Utilities to search std::vector<GenParticle*> a GenParticle instance
// ----------------------------------------------------------------------
#include "HepMC/GenVertex.h"
#include "HepMC/GenParticle.h"
namespace HepMC {
/// returns true if it cannot find GenParticle* in the vector
bool not_in_vector( std::vector<HepMC::GenParticle*>*, GenParticle* );
/// Returns the index of a GenParticle* within a vector.
/// Returns -1 if GenParticle* is not in the vector.
std::vector<HepMC::GenParticle*>::iterator already_in_vector( std::vector<HepMC::GenParticle*>*, GenParticle* );
} // HepMC
#endif // SearchVector_h
|