33 produces<FEDRawDataCollection>(
"CSCRawData");
62 desc.
add<
unsigned int>(
"useFormatVersion",2005)->
63 setComment(
"Set to 2005 for pre-LS1 CSC data format, 2013 - new post-LS1 CSC data format");
64 desc.
add<
bool>(
"usePreTriggers",
true)->
65 setComment(
"Set to false if CSCCLCTPreTrigger digis are not available");
75 desc.
add<int32_t>(
"alctWindowMin", -3)->
76 setComment(
"If min parameter = -999 always accept");
77 desc.
add<int32_t>(
"alctWindowMax", 3);
78 desc.
add<int32_t>(
"clctWindowMin", -3)->
79 setComment(
"If min parameter = -999 always accept");
80 desc.
add<int32_t>(
"clctWindowMax", 3);
81 desc.
add<int32_t>(
"preTriggerWindowMin", -3)->
82 setComment(
"If min parameter = -999 always accept");
83 desc.
add<int32_t>(
"preTriggerWindowMax", 1);
85 descriptions.
add(
"cscPacker", desc);
117 *alctDigis, *clctDigis, *preTriggers, *correlatedLCTDigis,
121 e.
put(fed_buffers,
"CSCRawData");
T getParameter(std::string const &) const
edm::EDGetTokenT< CSCCLCTPreTriggerCollection > pr_token
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > co_token
edm::EDGetTokenT< CSCComparatorDigiCollection > cd_token
edm::EDGetTokenT< CSCWireDigiCollection > wd_token
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
unsigned int theFormatVersion
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< CSCCLCTDigiCollection > cl_token
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::EDGetTokenT< CSCALCTDigiCollection > al_token
CSCDigiToRawModule(const edm::ParameterSet &pset)
Constructor.
T const * product() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual ~CSCDigiToRawModule()
Destructor.
edm::EDGetTokenT< CSCStripDigiCollection > sd_token
virtual void produce(edm::Event &, const edm::EventSetup &)
void createFedBuffers(const CSCStripDigiCollection &stripDigis, const CSCWireDigiCollection &wireDigis, const CSCComparatorDigiCollection &comparatorDigis, const CSCALCTDigiCollection &alctDigis, const CSCCLCTDigiCollection &clctDigis, const CSCCLCTPreTriggerCollection &preTriggers, const CSCCorrelatedLCTDigiCollection &correlatedLCTDigis, FEDRawDataCollection &fed_buffers, const CSCChamberMap *theMapping, edm::Event &e, uint16_t theFormatVersion=2005, bool usePreTriggers=true)
Take a vector of digis and fill the FEDRawDataCollection.