CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalTBReadout.h
Go to the documentation of this file.
1 #ifndef EcalTestBeamAlgos_EcalTBReadout_h
2 #define EcalTestBeamAlgos_EcalTBReadout_h
3 
4 /*
5  *
6  *
7  */
8 
9 #include <string>
10 #include <vector>
11 
18 
20 public:
21  EcalTBReadout(const std::string theEcalTBInfoLabel);
23 
25  void setDetIds(const std::vector<DetId> &detIds) { theDetIds = &detIds; }
26 
28  void findTTlist(const int &crysId, const EcalTrigTowerConstituentsMap &etmap);
29 
32 
35 
38  const EcalTrigTowerConstituentsMap &theTTmap,
39  const EBDigiCollection &input,
41 
44  const EcalTrigTowerConstituentsMap &theTTmap,
45  const EEDigiCollection &input,
47 
48 private:
50 
51  std::vector<EcalTrigTowerDetId> theTTlist_;
52 
53  static const int NCRYMATRIX = 7;
54 
55  const std::vector<DetId> *theDetIds;
56 
58 };
59 
60 #endif
std::vector< EcalTrigTowerDetId > theTTlist_
Definition: EcalTBReadout.h:51
static const int NCRYMATRIX
Definition: EcalTBReadout.h:53
static std::string const input
Definition: EdmProvDump.cc:47
EcalTBReadout(const std::string theEcalTBInfoLabel)
Definition: EcalTBReadout.cc:9
void readOut(const EBDigiCollection &input, EBDigiCollection &output, const EcalTrigTowerConstituentsMap &etmap)
read only the digis from the selected TT
void performReadout(edm::Event &event, const EcalTrigTowerConstituentsMap &theTTmap, const EBDigiCollection &input, EBDigiCollection &output)
master function to be called once per event
void setDetIds(const std::vector< DetId > &detIds)
tell the readout which cells exist
Definition: EcalTBReadout.h:25
const std::vector< DetId > * theDetIds
Definition: EcalTBReadout.h:55
void findTTlist(const int &crysId, const EcalTrigTowerConstituentsMap &etmap)
search for the TT to be read
std::string ecalTBInfoLabel_
Definition: EcalTBReadout.h:57