1 #ifndef EventFilter_SiPixelRawToDigi_interface_PixelUnpackingRegions_h 2 #define EventFilter_SiPixelRawToDigi_interface_PixelUnpackingRegions_h 84 if (
phi ==
m.phi &&
id <
m.id)
111 void gatherFromRange(
Region&
r, std::vector<Module>::const_iterator, std::vector<Module>::const_iterator);
129 #endif // EventFilter_SiPixelRawToDigi_interface_PixelUnpackingRegions_h
void addRegionLocal(Region &r, std::vector< Module > &container, const Module &lo, const Module &hi)
std::vector< edm::EDGetTokenT< reco::CandidateView > > tCandidateView
void addRegion(Region &r)
void gatherFromRange(Region &r, std::vector< Module >::const_iterator, std::vector< Module >::const_iterator)
unsigned int nForwardModules() const
PixelUnpackingRegions(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
bool operator<(const Module &m) const
std::vector< Module > phiFPIXm_
std::unique_ptr< SiPixelFedCablingTree > cabling_
edm::ESWatcher< SiPixelFedCablingMapRcd > watcherSiPixelFedCablingMap_
bool mayUnpackModule(unsigned int id) const
check whether a module has to be unpacked
unsigned int nRegions() const
const std::set< unsigned int > * modulesToUnpack() const
full set of module ids to unpack
unsigned int nModules() const
edm::InputTag beamSpotTag_
void run(const edm::Event &e, const edm::EventSetup &es)
has to be run during each event
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > cablingMapToken_
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 nBarrelModules() const
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_
bool mayUnpackFED(unsigned int fed_n) const
check whether a FED has to be unpacked
unsigned int nFEDs() const
various informational accessors:
Region(const math::XYZVector &dir, float dphi=0.5f, float maxz=24.f)
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomToken_
constexpr float maxz[nPairs]
std::vector< Module > phiBPIX_
edm::EDGetTokenT< reco::BeamSpot > tBeamSpot
std::set< unsigned int > feds_
std::set< unsigned int > modules_