58 std::unique_ptr<const CSCDigiToRaw>
packer_;
96 cham_token = esConsumes<CSCChamberMap, CSCChamberMapRcd>();
105 consumes<CSCShowerDigiCollection>(
pset.getParameter<
edm::InputTag>(
"anodeALCTShowerDigiTag"));
107 put_token_ = produces<FEDRawDataCollection>(
"CSCRawData");
113 desc.add<
unsigned int>(
"formatVersion", 2005)
115 "Set to 2005 for pre-LS1 CSC data format, 2013 - post-LS1 Run2 CSC data format, 2020 - Run3 CSC data " 117 desc.add<
bool>(
"usePreTriggers",
true)->setComment(
"Set to false if CSCCLCTPreTrigger digis are not available");
118 desc.add<
bool>(
"packEverything",
false)
119 ->setComment(
"Set to true to disable trigger-related constraints on readout data");
120 desc.add<
bool>(
"packByCFEB",
false)->setComment(
"Pack strip digis using CFEB info");
122 desc.add<
bool>(
"useGEMs",
false)->setComment(
"Pack Run3 GEM trigger data");
123 desc.add<
bool>(
"useCSCShowers",
false)->setComment(
"Pack Run3 CSC shower trigger data");
144 desc.add<int32_t>(
"alctWindowMin", -3)->setComment(
"If min parameter = -999 always accept");
145 desc.add<int32_t>(
"alctWindowMax", 3);
146 desc.add<int32_t>(
"clctWindowMin", -3)->setComment(
"If min parameter = -999 always accept");
147 desc.add<int32_t>(
"clctWindowMax", 3);
148 desc.add<int32_t>(
"preTriggerWindowMin", -3)->setComment(
"If min parameter = -999 always accept");
149 desc.add<int32_t>(
"preTriggerWindowMax", 1);
151 descriptions.
add(
"cscPackerDef",
desc);
175 e.getByToken(
co_token, correlatedLCTDigis);
206 packer_->createFedBuffers(*stripDigis,
215 cscAnodeShowerDigisPtr,
216 cscCathodeShowerDigisPtr,
217 cscALCTAnodeShowerDigisPtr,
edm::EDGetTokenT< CSCShowerDigiCollection > alct_anode_shower_token
edm::EDGetTokenT< CSCCLCTPreTriggerCollection > pr_token
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< CSCShowerDigiCollection > anode_shower_token
edm::EDGetTokenT< CSCCLCTPreTriggerDigiCollection > prdigi_token
edm::EDPutTokenT< FEDRawDataCollection > put_token_
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > co_token
edm::EDGetTokenT< CSCComparatorDigiCollection > cd_token
edm::EDGetTokenT< CSCWireDigiCollection > wd_token
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
T const * product() const
edm::EDGetTokenT< CSCCLCTDigiCollection > cl_token
edm::EDGetTokenT< GEMPadDigiClusterCollection > gem_token
Run3 GEM GE11 trigger objects collection.
edm::ESGetToken< CSCChamberMap, CSCChamberMapRcd > cham_token
edm::EDGetTokenT< CSCShowerDigiCollection > shower_token
Run3 CSC Shower objects collections.
edm::EDGetTokenT< CSCShowerDigiCollection > cathode_shower_token
edm::EDGetTokenT< CSCALCTDigiCollection > al_token
CSCDigiToRawModule(const edm::ParameterSet &pset)
Constructor.
std::unique_ptr< const CSCDigiToRaw > packer_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::EDGetTokenT< CSCStripDigiCollection > sd_token
A container for a generic type of digis indexed by some index, implemented with a map<IndexType...