1 #ifndef EventFilter_SiPixelRawToDigi_interface_PixelUnpackingRegions_h
2 #define EventFilter_SiPixelRawToDigi_interface_PixelUnpackingRegions_h
111 void gatherFromRange(
Region&
r, std::vector<Module>::const_iterator, std::vector<Module>::const_iterator);
129 #endif // EventFilter_SiPixelRawToDigi_interface_PixelUnpackingRegions_h
bool mayUnpackModule(unsigned int id) const
check whether a module has to be unpacked
void addRegionLocal(Region &r, std::vector< Module > &container, const Module &lo, const Module &hi)
unsigned int nRegions() const
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)
const std::set< unsigned int > * modulesToUnpack() const
full set of module ids to unpack
PixelUnpackingRegions(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
std::vector< Module > phiFPIXm_
std::unique_ptr< SiPixelFedCablingTree > cabling_
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
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > cablingMapToken_
std::vector< edm::InputTag > inputs_
__constant__ float const maxz[nPairs]
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:
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)
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomToken_
std::vector< Module > phiBPIX_
edm::EDGetTokenT< reco::BeamSpot > tBeamSpot
std::set< unsigned int > feds_
bool operator<(const Module &m) const
std::set< unsigned int > modules_