CMS 3D CMS Logo

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
input
static const std::string input
Definition: EdmProvDump.cc:48
EcalTBReadout::EcalTBReadout
EcalTBReadout(const std::string theEcalTBInfoLabel)
Definition: EcalTBReadout.cc:9
EcalTBReadout::readOut
void readOut(const EBDigiCollection &input, EBDigiCollection &output, const EcalTrigTowerConstituentsMap &etmap)
read only the digis from the selected TT
Definition: EcalTBReadout.cc:99
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
EcalTBReadout::theDetIds
const std::vector< DetId > * theDetIds
Definition: EcalTBReadout.h:55
EBDetId.h
EcalTBReadout::findTTlist
void findTTlist(const int &crysId, const EcalTrigTowerConstituentsMap &etmap)
search for the TT to be read
Definition: EcalTBReadout.cc:14
EcalTBReadout::performReadout
void performReadout(edm::Event &event, const EcalTrigTowerConstituentsMap &theTTmap, const EBDigiCollection &input, EBDigiCollection &output)
master function to be called once per event
Definition: EcalTBReadout.cc:150
EcalDigiCollections.h
EcalTBReadout::~EcalTBReadout
~EcalTBReadout()
Definition: EcalTBReadout.h:22
EcalTrigTowerDetId.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalTrigTowerConstituentsMap
Definition: EcalTrigTowerConstituentsMap.h:19
Event.h
EBDigiCollection
Definition: EcalDigiCollections.h:56
EcalTBReadout::ecalTBInfoLabel_
std::string ecalTBInfoLabel_
Definition: EcalTBReadout.h:57
EEDigiCollection
Definition: EcalDigiCollections.h:69
EcalTBReadout::theTTlist_
std::vector< EcalTrigTowerDetId > theTTlist_
Definition: EcalTBReadout.h:51
EcalTBReadout
Definition: EcalTBReadout.h:19
EcalTrigTowerConstituentsMap.h
CaloGeometry.h
EcalTBReadout::theTargetCrystal_
int theTargetCrystal_
Definition: EcalTBReadout.h:49
EcalTBReadout::NCRYMATRIX
static const int NCRYMATRIX
Definition: EcalTBReadout.h:53
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
EcalTBReadout::setDetIds
void setDetIds(const std::vector< DetId > &detIds)
tell the readout which cells exist
Definition: EcalTBReadout.h:25