|
|
Go to the documentation of this file.
57 std::unique_ptr<const CSCDigiToRaw>
packer_;
90 cham_token = esConsumes<CSCChamberMap, CSCChamberMapRcd>();
94 put_token_ = produces<FEDRawDataCollection>(
"CSCRawData");
117 desc.add<
unsigned int>(
"useFormatVersion", 2005)
118 ->setComment(
"Set to 2005 for pre-LS1 CSC data format, 2013 - new post-LS1 CSC data format");
119 desc.add<
bool>(
"usePreTriggers",
true)->setComment(
"Set to false if CSCCLCTPreTrigger digis are not available");
120 desc.add<
bool>(
"packEverything",
false)
121 ->setComment(
"Set to true to disable trigger-related constraints on readout data");
122 desc.add<
bool>(
"useGEMs",
false)->setComment(
"Pack GEM trigger data");
133 desc.add<int32_t>(
"alctWindowMin", -3)->setComment(
"If min parameter = -999 always accept");
134 desc.add<int32_t>(
"alctWindowMax", 3);
135 desc.add<int32_t>(
"clctWindowMin", -3)->setComment(
"If min parameter = -999 always accept");
136 desc.add<int32_t>(
"clctWindowMax", 3);
137 desc.add<int32_t>(
"preTriggerWindowMin", -3)->setComment(
"If min parameter = -999 always accept");
138 desc.add<int32_t>(
"preTriggerWindowMax", 1);
140 descriptions.
add(
"cscPacker",
desc);
166 e.getByToken(
co_token, correlatedLCTDigis);
172 packer_->createFedBuffers(*stripDigis,
T const * product() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< CSCStripDigiCollection > sd_token
edm::EDGetTokenT< CSCWireDigiCollection > wd_token
unsigned int theFormatVersion
edm::EDGetTokenT< CSCALCTDigiCollection > al_token
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > co_token
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::EDGetTokenT< GEMPadDigiClusterCollection > gem_token
edm::EDGetTokenT< CSCComparatorDigiCollection > cd_token
edm::EDPutTokenT< FEDRawDataCollection > put_token_
edm::EDGetTokenT< CSCCLCTPreTriggerCollection > pr_token
edm::ESGetToken< CSCChamberMap, CSCChamberMapRcd > cham_token
edm::EDGetTokenT< CSCCLCTDigiCollection > cl_token
CSCDigiToRawModule(const edm::ParameterSet &pset)
Constructor.
std::unique_ptr< const CSCDigiToRaw > packer_