1 #ifndef PixelUnpackingRegions_H
2 #define PixelUnpackingRegions_H
16 #include <boost/scoped_ptr.hpp>
87 if(
phi < m.
phi)
return true;
88 if(
phi == m.
phi &&
id < m.
id)
return true;
112 void gatherFromRange(
Region &
r, std::vector<Module>::const_iterator, std::vector<Module>::const_iterator);
bool mayUnpackModule(unsigned int id) const
check whether a module has to be unpacked
unsigned int nForwardFEDs() const
unsigned int nRegions() const
void addRegion(Region &r)
void gatherFromRange(Region &r, std::vector< Module >::const_iterator, std::vector< Module >::const_iterator)
const std::set< unsigned int > * modulesToUnpack() const
full set of module ids to unpack
boost::scoped_ptr< SiPixelFedCabling > cabling_
std::vector< Module > phiFPIXm_
PixelUnpackingRegions(const edm::ParameterSet &)
edm::ESWatcher< SiPixelFedCablingMapRcd > watcherSiPixelFedCablingMap_
unsigned int nBarrelModules() const
edm::InputTag beamSpotTag_
void run(const edm::Event &e, const edm::EventSetup &es)
has to be run during each event
unsigned int nModules() const
void addRegionLocal(Region &r, std::vector< Module > &container, Module lo, Module hi)
std::vector< edm::InputTag > inputs_
XYZVectorD XYZVector
spatial vector with cartesian internal representation
std::vector< Module > phiFPIXp_
XYZPointD XYZPoint
point in space with cartesian internal representation
unsigned int nForwardModules() const
unsigned int nFEDs() const
various informational accessors:
unsigned int nBarrelFEDs() const
bool mayUnpackFED(unsigned int fed_n) const
check whether a FED has to be unpacked
std::vector< double > dPhi_
void initialize(const edm::EventSetup &es)
run by the run method: (re)initialize the cabling data when it's necessary
std::vector< double > maxZ_
Region(const math::XYZVector &dir, float dphi=0.5f, float maxz=24.f)
std::vector< Module > phiBPIX_
std::set< unsigned int > feds_
bool operator<(const Module &m) const
std::set< unsigned int > modules_