29 produces<GEMCSCSegmentCollection>();
33 LogDebug(
"GEMCSCSegment") <<
"deleting GEMCSCSegmentBuilder after " <<
iev <<
" events w/ gem and csc data.";
42 desc.add<
bool>(
"enableME21GE21",
false);
47 psd0.
add<
unsigned int>(
"minHitsPerSegment", 2);
48 psd0.
add<
bool>(
"preClustering",
true);
49 psd0.
add<
double>(
"dXclusBoxMax", 1.0);
50 psd0.
add<
double>(
"dYclusBoxMax", 5.0);
51 psd0.
add<
bool>(
"preClusteringUseChaining",
true);
52 psd0.
add<
double>(
"dPhiChainBoxMax", 1.0);
53 psd0.
add<
double>(
"dThetaChainBoxMax", 0.02);
54 psd0.
add<
double>(
"dRChainBoxMax", 0.5);
55 psd0.
add<
int>(
"maxRecHitsInCluster", 6);
58 descriptions.
add(
"gemcscSegments",
desc);
62 LogDebug(
"GEMCSCSegment") <<
"start producing segments for " << ++
iev <<
"th event w/ gem and csc data";
66 if (not cscg.isValid()) {
73 if (not gemg.isValid()) {
88 edm::LogError(
"GEMCSCSegment") <<
"invalid CSCSegmentCollection";
94 edm::LogError(
"GEMCSCSegment") <<
"invalid GEMRecHitCollection";
99 auto oc = std::make_unique<GEMCSCSegmentCollection>();
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
GEMCSCSegmentBuilder * segmentBuilder_
const edm::ESGetToken< GEMGeometry, MuonGeometryRecord > kGEMGeometryToken_
void LinkGEMRollsToCSCChamberIndex(const GEMGeometry *gemgeom, const CSCGeometry *cscgeom)
const edm::EDGetTokenT< GEMRecHitCollection > kGEMRecHitCollectionToken_
GEMCSCSegmentProducer(const edm::ParameterSet &)
Constructor.
TkSoAView< TrackerTraits > HitToTuple< TrackerTraits > const *__restrict__ int32_t int32_t int iev
Log< level::Error, false > LogError
~GEMCSCSegmentProducer() override
Destructor.
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void build(const GEMRecHitCollection *rechits, const CSCSegmentCollection *cscsegments, GEMCSCSegmentCollection &oc)
void produce(edm::Event &, const edm::EventSetup &) override
Produce the GEM-CSCSegment collection.
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
generate gemcscSegment_cfi
const edm::EDGetTokenT< CSCSegmentCollection > kCSCSegmentCollectionToken_
void setGeometry(const GEMGeometry *gemgeom, const CSCGeometry *cscgeom)
const edm::ESGetToken< CSCGeometry, MuonGeometryRecord > kCSCGeometryToken_