54 std::vector<int> muNCells;
55 std::vector<float> muTime;
56 std::vector<float> muFullPath;
57 std::vector<float> muFullEnergy;
58 std::vector<float> muEnergyDensity;
59 std::vector<float> muPositionX;
60 std::vector<float> muPositionZ;
61 std::vector<float> muDirectionPhi;
62 std::vector<float> muDirectionTheta;
63 std::vector<float> muPosTime;
64 std::vector<float> muPosTimeZ;
65 std::vector<float> muPartition;
66 std::vector<float> muPartitionTime;
72 int muTrackNCells = cosmicMuon->GetTrackNCells();
74 if (muTrackNCells > 2) {
76 muNCells.push_back(muTrackNCells);
77 muTime.push_back(cosmicMuon->GetTime());
78 muPositionX.push_back(cosmicMuon->GetPositionX());
79 muPositionZ.push_back(cosmicMuon->GetPositionZ());
80 muDirectionPhi.push_back(
std::sin(cosmicMuon->GetDirectionPhi()));
81 muDirectionTheta.push_back(
std::sin(cosmicMuon->GetDirectionTheta()));
83 float fullPath = cosmicMuon->GetFullPath();
84 float fullEnergy = cosmicMuon->GetFullEnergy();
86 muFullEnergy.push_back(fullEnergy);
89 float eneDensity = fullEnergy /
fullPath;
90 muEnergyDensity.push_back(eneDensity);
92 if ((
fullPath < 10000.) && (eneDensity > 1.05) && (eneDensity < 7.5)) {
93 muPosTime.push_back(cosmicMuon->GetTime());
94 muPosTimeZ.push_back(cosmicMuon->GetPositionZ());
98 for (
int cellIdx = 0; cellIdx < muTrackNCells; ++cellIdx) {
99 IdentifierHash
hash = cosmicMuon->GetTrackCellHash(cellIdx);
109 muPartitionTime.push_back(cosmicMuon->GetTime());
118 if (!muTime.empty()) {
128 for (
int l1TriggerIdx : l1TriggersIndices) {
141 if (!muPosTime.empty()) {
144 for (
int l1TriggerIdx : l1TriggersIndices) {
149 if (!muPartitionTime.empty()) {
152 for (
int l1TriggerIdx : l1TriggersIndices) {
157 if (!muEnergyDensity.empty()) {
159 for (
int l1TriggerIdx : l1TriggersIndices) {
164 fill(
"TileMuonFitMonExecuteTime",
timer);
166 return StatusCode::SUCCESS;